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

Commit 2c03eecb authored by burakov's avatar burakov Committed by Danny Burakov
Browse files

[Dual Shade] Remove the opaque color behind the shade when blur is off.

Fix: 400530515
Test: Manually tested by opening and closing the shade with the blur
 flag on and off, and verifying the expected behavior.
Flag: com.android.systemui.scene_container
Change-Id: I65a236e31f02cae6a267785b6ef98566215b7c8b
parent a9ee1862
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -195,7 +195,12 @@ object OverlayShade {
        val ScrimBackground: Color
            @Composable
            @ReadOnlyComposable
            get() = Color(notificationScrim(LocalContext.current, Flags.notificationShadeBlur()))
            get() =
                if (Flags.notificationShadeBlur()) {
                    Color(notificationScrim(LocalContext.current, /* blurSupported= */ true))
                } else {
                    Color.Transparent
                }

        val PanelBackground: Color
            @Composable