We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 113f874 + 5f8d483 commit 29f7836Copy full SHA for 29f7836
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