Merge "DO NOT MERGE Hide EmptyShadeView when on bouncer" into tm-qpr-dev
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user