Hide EmptyShadeView when on bouncer
Added a check to make sure EmptyShadeView is hidden when bouncer is showing. Bug: 267060171 Test: manually verified EmptyShadeView visibility Change-Id: I2bfdc7801cec1b3aaa44f841d8a821214c6cb801
This commit is contained in:
@@ -2809,6 +2809,7 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
|
||||
@Override
|
||||
public void setBouncerShowing(boolean bouncerShowing) {
|
||||
mBouncerShowing = bouncerShowing;
|
||||
mNotificationStackScrollLayoutController.updateShowEmptyShadeView();
|
||||
updateVisibility();
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user