Skip to content

Commit 0e385ee

Browse files
Dianne HackbornAndroid Git Automerger
authored andcommitted
am b32785c: Merge "More fixing for issue #5366535: Lockscreen has wrong layout..." into ics-mr0
* commit 'b32785c6e893743956e28b285b8e6f6fc7aa8edb': More fixing for issue #5366535: Lockscreen has wrong layout...
2 parents b259c04 + b32785c commit 0e385ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3399,6 +3399,9 @@ public void showBootMessage(final CharSequence msg, final boolean always) {
33993399
WindowManager.LayoutParams.FLAG_DIM_BEHIND
34003400
| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN);
34013401
mBootMsgDialog.getWindow().setDimAmount(1);
3402+
WindowManager.LayoutParams lp = mBootMsgDialog.getWindow().getAttributes();
3403+
lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;
3404+
mBootMsgDialog.getWindow().setAttributes(lp);
34023405
mBootMsgDialog.setCancelable(false);
34033406
mBootMsgDialog.show();
34043407
}

0 commit comments

Comments
 (0)