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

Commit 341f4d5c authored by Sean Stout's avatar Sean Stout Committed by Android (Google) Code Review
Browse files

Merge "Update AWakeLock to supply a display id." into sc-dev

parents ca5cc85c 03796065
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ bool AWakeLock::acquire() {
            binder::Status status = mPowerManager->acquireWakeLock(
                    binder, POWERMANAGER_PARTIAL_WAKE_LOCK,
                    String16("AWakeLock"), String16("media"),
                    {} /* workSource */, {} /* historyTag */);
                    {} /* workSource */, {} /* historyTag */, -1 /* displayId */);
            IPCThreadState::self()->restoreCallingIdentity(token);
            if (status.isOk()) {
                mWakeLockToken = binder;