|
发表于 2015-5-26 14:18:01
只看该作者
推荐
本帖最后由 madman 于 2015-5-26 14:19 编辑
Revert "Android->frameworks:Forced rotation to horizontal screen if insert hdmi"
This reverts commit 137bead4fffd7f212ee144456420933d54fbd0ef.
diff --git a/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/frameworks/base/policy/src/com/android/intern
index 53e7068..fc80328 100755
--- a/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1112,7 +1112,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
} else {
mDemoHdmiRotation = mLandscapeRotation;
}
- mDemoHdmiRotationLock = SystemProperties.getBoolean("persist.demo.hdmirotationlock", true);
+ mDemoHdmiRotationLock = SystemProperties.getBoolean("persist.demo.hdmirotationlock", false);
就是true跟false那改一下,或者git revert ,你试下吧 |
|