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

Commit 3bc413bc authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev

am: cbab3edc

Change-Id: I49d8dc5f8cdd470064c9450e6722a905a4d1b0ed
parents 9fadf818 cbab3edc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -379,7 +379,8 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
            setScrimBehindAlpha(0f);
        } else if (mWakeAndUnlocking) {
            // During wake and unlock, we first hide everything behind a black scrim, which then
            // gets faded out from animateKeyguardFadingOut.
            // gets faded out from animateKeyguardFadingOut. This must never be animated.
            mAnimateChange = false;
            if (mDozing) {
                setScrimInFrontAlpha(0f);
                setScrimBehindAlpha(1f);