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

am: 496267f93b

Change-Id: I41bf93f65c215cc841485c7570c7a7e78a0fdf93
This commit is contained in:
Michael Wright
2017-06-07 07:32:49 +00:00
committed by android-build-merger

View File

@@ -369,8 +369,8 @@ final class DisplayPowerState {
mPendingBacklight = backlight; mPendingBacklight = backlight;
boolean changeInProgress = mStateChangeInProgress || mBacklightChangeInProgress; boolean changeInProgress = mStateChangeInProgress || mBacklightChangeInProgress;
mStateChangeInProgress = stateChanged; mStateChangeInProgress = stateChanged || mStateChangeInProgress;
mBacklightChangeInProgress = backlightChanged; mBacklightChangeInProgress = backlightChanged || mBacklightChangeInProgress;
if (!changeInProgress) { if (!changeInProgress) {
mLock.notifyAll(); mLock.notifyAll();