Loading policy/src/com/android/internal/policy/impl/KeyguardViewManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
policy/src/com/android/internal/policy/impl/KeyguardViewManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading