From 390de88fef2a801bdab0bd92166dd575e587b2f1 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Thu, 5 May 2022 21:21:08 +0000 Subject: [PATCH] [Bouncer] Hide status icons in bouncer. In large screen devices, when we open the shade from Lockscreen and close it, the bouncer will permanently show the status bar. This is because we are setting an explicit alpha in split shade mode in LockscreenShadeKeyguardTransitionController; however we do not reset this when the shade is dismissed. Bug: 231460495 Test: Manual on large screen device Change-Id: I2073f52475b3d716bacf01880be1f59e16873500 --- .../statusbar/phone/NotificationPanelViewController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java index 985df423d744d..f01491ac0c99f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -3197,6 +3197,8 @@ public class NotificationPanelViewController extends PanelViewController { updateTrackingHeadsUp(null); mExpandingFromHeadsUp = false; setPanelScrimMinFraction(0.0f); + // Reset status bar alpha so alpha can be calculated upon updating view state. + setKeyguardStatusBarAlpha(-1f); } private void updateTrackingHeadsUp(@Nullable ExpandableNotificationRow pickedChild) {