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

Commit 4c4c1dbd authored by Chandru S's avatar Chandru S
Browse files

Add bouncer_ui_revamp flag as well to the check that removes the dependency...

Add bouncer_ui_revamp flag as well to the check that removes the dependency between shade window visibility and blur radius

Bug: 405020678
Test: NA
Flag: com.android.systemui.bouncer_ui_revamp
Change-Id: I3432f748920dbb69bada3e07866a0c312a6752bc
parent 0def0884
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