Merge "Hide EmptyShadeView when on bouncer" into udc-dev

This commit is contained in:
Shawn Lee
2023-04-18 19:34:09 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -2809,6 +2809,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
@Override
public void setBouncerShowing(boolean bouncerShowing) {
mBouncerShowing = bouncerShowing;
mNotificationStackScrollLayoutController.updateShowEmptyShadeView();
updateVisibility();
}

View File

@@ -1235,7 +1235,8 @@ public class NotificationStackScrollLayoutController {
// Hide empty shade view when in transition to Keyguard.
// That avoids "No Notifications" to blink when transitioning to AOD.
// For more details, see: b/228790482
&& !isInTransitionToKeyguard();
&& !isInTransitionToKeyguard()
&& !mCentralSurfaces.isBouncerShowing();
mView.updateEmptyShadeView(shouldShow, mZenModeController.areNotificationsHiddenInShade());