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:
@@ -2843,6 +2843,7 @@ public final class NotificationPanelViewController implements Dumpable {
|
|||||||
/** Set whether the bouncer is showing. */
|
/** Set whether the bouncer is showing. */
|
||||||
public void setBouncerShowing(boolean bouncerShowing) {
|
public void setBouncerShowing(boolean bouncerShowing) {
|
||||||
mBouncerShowing = bouncerShowing;
|
mBouncerShowing = bouncerShowing;
|
||||||
|
mNotificationStackScrollLayoutController.updateShowEmptyShadeView();
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1240,7 +1240,8 @@ public class NotificationStackScrollLayoutController {
|
|||||||
// Hide empty shade view when in transition to Keyguard.
|
// Hide empty shade view when in transition to Keyguard.
|
||||||
// That avoids "No Notifications" to blink when transitioning to AOD.
|
// That avoids "No Notifications" to blink when transitioning to AOD.
|
||||||
// For more details, see: b/228790482
|
// For more details, see: b/228790482
|
||||||
&& !isInTransitionToKeyguard();
|
&& !isInTransitionToKeyguard()
|
||||||
|
&& !mCentralSurfaces.isBouncerShowing();
|
||||||
|
|
||||||
mView.updateEmptyShadeView(shouldShow, mZenModeController.areNotificationsHiddenInShade());
|
mView.updateEmptyShadeView(shouldShow, mZenModeController.areNotificationsHiddenInShade());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user