am 8aa2e3f1: am ab46eda8: am 704998ab: Merge "Ensure we correctly unblank displays when added." into lmp-dev

* commit '8aa2e3f168bc68b1ed59d0ea14a212bdb1837fa8':
  Ensure we correctly unblank displays when added.
This commit is contained in:
Jeff Brown
2014-10-09 19:22:56 +00:00
committed by Android Git Automerger

View File

@@ -651,7 +651,10 @@ public final class DisplayManagerService extends SystemService {
mDisplayDevices.add(device);
addLogicalDisplayLocked(device);
updateDisplayStateLocked(device);
Runnable work = updateDisplayStateLocked(device);
if (work != null) {
work.run();
}
scheduleTraversalLocked(false);
}