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

Commit 55a8b47c authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Do not linear fade out scrims when collapsing in fallback mode for shade blur

Essentially reuse the pre shade blur alpha update path as shade is collapsed

Fixes: 406232015
Test: video in bug
Flag: com.android.systemui.notification_shade_blur
Change-Id: I0994747bf599924bcbb20de64f1b4216963fca3f
parent 1735ebc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1030,7 +1030,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, Dump
                    mBehindAlpha = 1;
                    mNotificationsAlpha = behindFraction * getDefaultScrimAlpha();
                } else {
                    if (Flags.notificationShadeBlur()) {
                    if (Flags.notificationShadeBlur() && isBlurCurrentlySupported()) {
                        // TODO (b/390730594): match any spec for controlling alpha based on shade
                        //  expansion fraction.
                        mBehindAlpha = mState.getBehindAlpha() * mPanelExpansionFraction;