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;
|
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user