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

Commit d581113d 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: I41bf93f65c215cc841485c7570c7a7e78a0fdf93
parents 8cb65392 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();