Merge "Actually wait until the display is ready." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
496267f93b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user