diff options
author | Shawn Pearce <sop@google.com> | 2012-07-24 17:23:37 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-07-24 17:23:38 -0700 |
commit | 8d6ff012ed14fb2e0ddad059deea3b1fe74aac3c (patch) | |
tree | e823f2ab82965546cdd3ddd9e3463405090b3d79 | |
parent | 0804b6dbf557df6d69f96c18ebd638ee74c7c050 (diff) | |
parent | 82f91963188fd87aae0b35dd0f01ab95d5bb5fd3 (diff) | |
download | frameworks_base-8d6ff012ed14fb2e0ddad059deea3b1fe74aac3c.zip frameworks_base-8d6ff012ed14fb2e0ddad059deea3b1fe74aac3c.tar.gz frameworks_base-8d6ff012ed14fb2e0ddad059deea3b1fe74aac3c.tar.bz2 |
Merge "Fix 5608959: Make keyguard follow user setting for orientation" into jb-dev
-rw-r--r-- | policy/src/com/android/internal/policy/impl/KeyguardViewManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java b/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java index 504bb63..fb6ff24 100644 --- a/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java +++ b/policy/src/com/android/internal/policy/impl/KeyguardViewManager.java @@ -147,7 +147,7 @@ public class KeyguardViewManager implements KeyguardWindowController { if (enableScreenRotation) { if (DEBUG) Log.d(TAG, "Rotation sensor for lock screen On!"); - mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR; + mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER; } else { if (DEBUG) Log.d(TAG, "Rotation sensor for lock screen Off!"); mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; |