Merge "Check mStatusBarWindowHidden bit when deciding to hide status bar" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8776299ea9
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user