We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f574698 + 8d6ff01 commit 5f8d483Copy full SHA for 5f8d483
policy/src/com/android/internal/policy/impl/KeyguardViewManager.java
@@ -147,7 +147,7 @@ public synchronized void show() {
147
148
if (enableScreenRotation) {
149
if (DEBUG) Log.d(TAG, "Rotation sensor for lock screen On!");
150
- mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR;
+ mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_USER;
151
} else {
152
if (DEBUG) Log.d(TAG, "Rotation sensor for lock screen Off!");
153
mWindowLayoutParams.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;
0 commit comments