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

Commit f92b6161 authored by John Spurlock's avatar John Spurlock
Browse files

Disallow transient status bar on the keyguard.

FLAG_FULLSCREEN on the app under the keyguard was keeping
the transient status bar visible if the user locked while
revealing it.

Bug:11629810
Change-Id: I034d3a4f4fe5463702253a1fca6d32debd520c3c
parent e45d8b2d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3468,6 +3468,11 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                }
                // Maintain fullscreen layout until incoming animation is complete.
                topIsFullscreen = mTopIsFullscreen && mStatusBar.isAnimatingLw();
                // Transient status bar on the lockscreen is not allowed
                if (mForceStatusBarFromKeyguard && mStatusBarController.isTransientShowing()) {
                    mStatusBarController.updateVisibilityLw(false /*transientAllowed*/,
                            mLastSystemUiFlags, mLastSystemUiFlags);
                }
            } else if (mTopFullscreenOpaqueWindowState != null) {
                if (localLOGV) {
                    Slog.d(TAG, "frame: " + mTopFullscreenOpaqueWindowState.getFrameLw()