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

Commit 68eafe7f authored by Michael Lentine's avatar Michael Lentine Committed by Thierry Strudel
Browse files

Revert "Dismiss color fade when it is no longer used."

Bug: 24371570
This reverts commit 19356000.
parent 19356000
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -837,7 +837,6 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
        if (mPendingScreenOff && target != Display.STATE_OFF) {
            setScreenState(Display.STATE_OFF);
            mPendingScreenOff = false;
            mPowerState.dismissColorFade();
        }

        if (target == Display.STATE_ON) {
@@ -911,7 +910,6 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
                // A black surface is already hiding the contents of the screen.
                setScreenState(Display.STATE_OFF);
                mPendingScreenOff = false;
                mPowerState.dismissColorFade();
            } else if (performScreenOffTransition
                    && mPowerState.prepareColorFade(mContext,
                            mColorFadeFadesConfig ?