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

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

Merge "Disable blur forcing shade window to be visible" into main

parents a8fc1973 6a3ad1a1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -498,17 +498,18 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
    }

    private boolean isExpanded(NotificationShadeWindowState state) {
        boolean visForBlur = !Flags.disableShadeVisibleWithBlur() && state.backgroundBlurRadius > 0;
        boolean isExpanded = !state.forceWindowCollapsed && (state.isKeyguardShowingAndNotOccluded()
                || state.panelVisible || state.keyguardFadingAway || state.bouncerShowing
                || state.headsUpNotificationShowing
                || state.scrimsVisibility != ScrimController.TRANSPARENT)
                || state.backgroundBlurRadius > 0
                || visForBlur
                || state.launchingActivityFromNotification;
        mLogger.logIsExpanded(isExpanded, state.forceWindowCollapsed,
                state.isKeyguardShowingAndNotOccluded(), state.panelVisible,
                state.keyguardFadingAway, state.bouncerShowing, state.headsUpNotificationShowing,
                state.scrimsVisibility != ScrimController.TRANSPARENT,
                state.backgroundBlurRadius > 0, state.launchingActivityFromNotification);
                visForBlur, state.launchingActivityFromNotification);
        return isExpanded;
    }