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

Commit 9468ded0 authored by Michael Wright's avatar Michael Wright Committed by android-build-merger
Browse files

Merge "Actually wait until the display is ready." into oc-dev

am: 496267f9

Change-Id: I40d9fb13190db81472cde320cccd9a868ea21516
parents a550801c 496267f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -369,8 +369,8 @@ final class DisplayPowerState {
                    mPendingBacklight = backlight;

                    boolean changeInProgress = mStateChangeInProgress || mBacklightChangeInProgress;
                    mStateChangeInProgress = stateChanged;
                    mBacklightChangeInProgress = backlightChanged;
                    mStateChangeInProgress = stateChanged || mStateChangeInProgress;
                    mBacklightChangeInProgress = backlightChanged || mBacklightChangeInProgress;

                    if (!changeInProgress) {
                        mLock.notifyAll();