Merge "Do not wake up all displays" into tm-dev am: 5483a979e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17355142 Change-Id: Ibdb4995bdf527ef7296935a4c79ffc2c47c7fc4c Signed-off-by: Automerger Merge Worker
This commit is contained in:
@@ -523,8 +523,7 @@ final class VirtualDeviceImpl extends IVirtualDevice.Stub
|
||||
}
|
||||
PowerManager powerManager = mContext.getSystemService(PowerManager.class);
|
||||
PowerManager.WakeLock wakeLock = powerManager.newWakeLock(
|
||||
PowerManager.SCREEN_BRIGHT_WAKE_LOCK
|
||||
| PowerManager.ACQUIRE_CAUSES_WAKEUP,
|
||||
PowerManager.SCREEN_BRIGHT_WAKE_LOCK,
|
||||
TAG + ":" + displayId, displayId);
|
||||
wakeLock.acquire();
|
||||
mPerDisplayWakelocks.put(displayId, wakeLock);
|
||||
|
||||
Reference in New Issue
Block a user