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

Commit b924acb1 authored by Evan Laird's avatar Evan Laird Committed by android-build-merger
Browse files

Merge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev

am: 8776299e

Change-Id: I410eec9bd9d369e5e26e5a6ee954ebfd70c679ab
parents 863d2a46 8776299e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2081,7 +2081,7 @@ public class StatusBar extends SystemUI implements DemoMode,
     * @param animate should the change of the icons be animated.
     */
    private void updateHideIconsForBouncer(boolean animate) {
        boolean hideBecauseApp = mTopHidesStatusBar && mIsOccluded;
        boolean hideBecauseApp = mTopHidesStatusBar && mIsOccluded && mStatusBarWindowHidden;
        boolean hideBecauseKeyguard = !mPanelExpanded && !mIsOccluded && mBouncerShowing;
        boolean shouldHideIconsForBouncer = hideBecauseApp || hideBecauseKeyguard;
        if (mHideIconsForBouncer != shouldHideIconsForBouncer) {