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

Commit a1299e66 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Darker scrim under unlocked shade" into pi-dev

am: c5395907

Change-Id: I71b1718c228779c3d2a9a74f1aa3534984b0a91b
parents f57ad4f6 c5395907
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, OnCo
            // Darken scrim as you pull down the shade when unlocked
            float behindFraction = getInterpolatedFraction();
            behindFraction = (float) Math.pow(behindFraction, 0.8f);
            mCurrentBehindAlpha = behindFraction * mScrimBehindAlphaKeyguard;
            mCurrentBehindAlpha = behindFraction * GRADIENT_SCRIM_ALPHA_BUSY;
            mCurrentInFrontAlpha = 0;
        } else if (mState == ScrimState.KEYGUARD) {
            // Either darken of make the scrim transparent when you