* commit 'b32785c6e893743956e28b285b8e6f6fc7aa8edb': More fixing for issue #5366535: Lockscreen has wrong layout...
This commit is contained in:
@@ -3399,6 +3399,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
WindowManager.LayoutParams.FLAG_DIM_BEHIND
|
||||
| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN);
|
||||
mBootMsgDialog.getWindow().setDimAmount(1);
|
||||
WindowManager.LayoutParams lp = mBootMsgDialog.getWindow().getAttributes();
|
||||
lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR;
|
||||
mBootMsgDialog.getWindow().setAttributes(lp);
|
||||
mBootMsgDialog.setCancelable(false);
|
||||
mBootMsgDialog.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user