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

Commit d9efb95a authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

More fixing for issue #5366535: Lockscreen has wrong layout...

...but corrects itself

Change upgrade window to not allow the device to rotate while it is shown.

Change-Id: I75b126ab8806b84a0351e2706ebea10570bde575
parent d28bb28e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3376,6 +3376,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();
                }