设置允许横竖屏
niming@ubuntu:/home/user/workspace2/niming/a33-v2.0/android/frameworks/base/packages/SystemUI$ git diff 16302c7bfc784761cd1cff15073e87111ce3cba6 1124b990b9d51b67f9a4c0560679627449ee976f
diff --git a/core/res/res/drawable-sw480dp-nodpi/default_wallpaper.jpg b/core/res/res/drawable-sw480dp-nodpi/default_wallpaper.jpg
new file mode 100644
index 0000000..6bb0b5e
Binary files /dev/null and b/core/res/res/drawable-sw480dp-nodpi/default_wallpaper.jpg differ
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index d3aa980..9ed6b82 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -374,7 +374,7 @@
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
- <bool name="config_allowAllRotations">false</bool>
+ <bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
@@ -585,7 +585,7 @@
<bool name="config_enableLockBeforeUnlockScreen">false</bool>
<!-- Disable lockscreen rotation by default -->
- <bool name="config_enableLockScreenRotation">false</bool>
+ <bool name="config_enableLockScreenRotation">true</bool>
<!-- Enable lockscreen translucent decor by default -->
<bool name="config_enableLockScreenTranslucentDecor">true</bool>