diff options
| author | 2023-01-19 08:45:51 +0000 | |
|---|---|---|
| committer | 2023-01-19 08:45:51 +0000 | |
| commit | 0ddb66c913c57c3fcccc51d32e9e331440899beb (patch) | |
| tree | f4f9b630b8796f9769b5c90fea7c89e7585a4222 | |
| parent | 0b5f5075409d17e8bb2160b88da00ba2952ca4a2 (diff) | |
| parent | 9c36b2e955cf7e6f6a6b2c1b9962e8cc3e5e5353 (diff) | |
Merge "Split-shade: show status bar earlier when closing shade" into tm-qpr-dev
| -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 ce6fb14fbcf8..7c6c721d0012 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) { |