FLAG_DISMISS_KEYGUARD should not hide status bar if secure.
Otherwise, setting both FLAG_DISMISS_KEYGUARD + FLAG_FULLSCREEN will hide the status bar (by not forcing it) when the secure keyguard is showing. Bug:8567697 Change-Id: I441d9c1bc0e106672b6d29427d291f41eaf1e697
This commit is contained in:
@@ -3204,7 +3204,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
mDismissKeyguard = mWinDismissingKeyguard == win ?
|
||||
DISMISS_KEYGUARD_CONTINUE : DISMISS_KEYGUARD_START;
|
||||
mWinDismissingKeyguard = win;
|
||||
mForceStatusBarFromKeyguard = false;
|
||||
mForceStatusBarFromKeyguard =
|
||||
mShowingLockscreen && mKeyguardMediator.isSecure();
|
||||
}
|
||||
if ((attrs.flags & FLAG_ALLOW_LOCK_WHILE_SCREEN_ON) != 0) {
|
||||
mAllowLockscreenWhenOn = true;
|
||||
|
||||
Reference in New Issue
Block a user