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

* commit '8d6ff012ed14fb2e0ddad059deea3b1fe74aac3c':
  Fix 5608959: Make keyguard follow user setting for orientation
This commit is contained in:
Shawn Pearce
2012-07-24 22:08:57 -07:00
committed by Android Git Automerger

View File

@@ -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;