Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -2090,7 +2090,8 @@ public class StatusBar extends SystemUI implements DemoMode, * @param animate should the change of the icons be animated. * @param animate should the change of the icons be animated. */ */ private void updateHideIconsForBouncer(boolean animate) { private void updateHideIconsForBouncer(boolean animate) { boolean hideBecauseApp = mTopHidesStatusBar && mIsOccluded && mStatusBarWindowHidden; boolean hideBecauseApp = mTopHidesStatusBar && mIsOccluded && (mStatusBarWindowHidden || mBouncerShowing); boolean hideBecauseKeyguard = !mPanelExpanded && !mIsOccluded && mBouncerShowing; boolean hideBecauseKeyguard = !mPanelExpanded && !mIsOccluded && mBouncerShowing; boolean shouldHideIconsForBouncer = hideBecauseApp || hideBecauseKeyguard; boolean shouldHideIconsForBouncer = hideBecauseApp || hideBecauseKeyguard; if (mHideIconsForBouncer != shouldHideIconsForBouncer) { if (mHideIconsForBouncer != shouldHideIconsForBouncer) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -2090,7 +2090,8 @@ public class StatusBar extends SystemUI implements DemoMode, * @param animate should the change of the icons be animated. * @param animate should the change of the icons be animated. */ */ private void updateHideIconsForBouncer(boolean animate) { private void updateHideIconsForBouncer(boolean animate) { boolean hideBecauseApp = mTopHidesStatusBar && mIsOccluded && mStatusBarWindowHidden; boolean hideBecauseApp = mTopHidesStatusBar && mIsOccluded && (mStatusBarWindowHidden || mBouncerShowing); boolean hideBecauseKeyguard = !mPanelExpanded && !mIsOccluded && mBouncerShowing; boolean hideBecauseKeyguard = !mPanelExpanded && !mIsOccluded && mBouncerShowing; boolean shouldHideIconsForBouncer = hideBecauseApp || hideBecauseKeyguard; boolean shouldHideIconsForBouncer = hideBecauseApp || hideBecauseKeyguard; if (mHideIconsForBouncer != shouldHideIconsForBouncer) { if (mHideIconsForBouncer != shouldHideIconsForBouncer) { Loading