Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5483a979 authored by Xu Cao's avatar Xu Cao Committed by Android (Google) Code Review
Browse files

Merge "Do not wake up all displays" into tm-dev

parents 87202916 9428265e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);