Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a513c0e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add bouncer_ui_revamp flag as well to the check that removes the...

Merge "Add bouncer_ui_revamp flag as well to the check that removes the dependency between shade window visibility and blur radius" into main
parents 304c8cea 4c4c1dbd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -529,7 +529,10 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
    }

    private boolean isExpanded(NotificationShadeWindowState state) {
        boolean visForBlur = !Flags.disableBlurredShadeVisible() && state.backgroundBlurRadius > 0;
        boolean visForBlur =  state.backgroundBlurRadius > 0;
        if (Flags.bouncerUiRevamp() || Flags.disableBlurredShadeVisible()) {
            visForBlur = false;
        }
        boolean isExpanded = !state.forceWindowCollapsed && (state.isKeyguardShowingAndNotOccluded()
                || state.panelVisible || state.keyguardFadingAway || state.bouncerShowing
                || state.headsUpNotificationShowing