diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java index bf4a768c5710..b532c134c3a2 100644 --- a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java @@ -4186,9 +4186,7 @@ public final class NotificationPanelViewController implements Dumpable { } private void updateStatusBarIcons() { - boolean showIconsWhenExpanded = - (isPanelVisibleBecauseOfHeadsUp() || mIsFullWidth) - && getExpandedHeight() < getOpeningHeight(); + boolean showIconsWhenExpanded = getExpandedHeight() < getOpeningHeight(); if (showIconsWhenExpanded && isOnKeyguard()) { showIconsWhenExpanded = false; } @@ -4255,7 +4253,7 @@ public final class NotificationPanelViewController implements Dumpable { && mHeadsUpAppearanceController.shouldBeVisible()) { return false; } - return !mIsFullWidth || !mShowIconsWhenExpanded; + return !mShowIconsWhenExpanded; } private void onQsPanelScrollChanged(int scrollY) { |