DO NOT MERGE Hide EmptyShadeView when on bouncer am: 2e640447d1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22915981

Change-Id: I1a86c74805cff6c4f87ac69e0a666fcea0f3c7f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Shawn Lee
2023-06-16 00:56:05 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 1 deletions

View File

@@ -2843,6 +2843,7 @@ public final class NotificationPanelViewController implements Dumpable {
/** Set whether the bouncer is showing. */
public void setBouncerShowing(boolean bouncerShowing) {
mBouncerShowing = bouncerShowing;
mNotificationStackScrollLayoutController.updateShowEmptyShadeView();
updateVisibility();
}

View File

@@ -1240,7 +1240,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());