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

Commit 057350fd authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Update scrim during sensor event"

parents ce7c19ea 8523d137
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -463,7 +463,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, OnCo
        if (mState == ScrimState.AOD && mDozeParameters.getAlwaysOn()
                && mCurrentInFrontAlpha != alpha) {
            mCurrentInFrontAlpha = alpha;
            scheduleUpdate();
            updateScrims();
        }

        mState.AOD.setAodFrontScrimAlpha(alpha);