Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f8d4832 authored by Shawn Pearce's avatar Shawn Pearce Committed by Android Git Automerger
Browse files

am 8d6ff012: Merge "Fix 5608959: Make keyguard follow user setting for orientation" into jb-dev

* commit '8d6ff012':
  Fix 5608959: Make keyguard follow user setting for orientation
parents f5746984 8d6ff012
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;