We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0804b6d + 82f9196 commit 8d6ff01Copy full SHA for 8d6ff01
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