Skip to content

Commit 5f8d483

Browse files
spearceAndroid Git Automerger
authored andcommitted
am 8d6ff01: Merge "Fix 5608959: Make keyguard follow user setting for orientation" into jb-dev
* commit '8d6ff012ed14fb2e0ddad059deea3b1fe74aac3c': Fix 5608959: Make keyguard follow user setting for orientation
2 parents f574698 + 8d6ff01 commit 5f8d483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

policy/src/com/android/internal/policy/impl/KeyguardViewManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public synchronized void show() {
147147

148148
if (enableScreenRotation) {
149149
if (DEBUG) Log.d(TAG, "Rotation sensor for lock screen On!");
150-
mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR;
150+
mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER;
151151
} else {
152152
if (DEBUG) Log.d(TAG, "Rotation sensor for lock screen Off!");
153153
mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;

0 commit comments

Comments
 (0)