Loading services/java/com/android/server/power/PowerManagerService.java +7 −0 Original line number Diff line number Diff line Loading @@ -838,6 +838,13 @@ public final class PowerManagerService extends IPowerManager.Stub for (int index = 0; index < mWakeLocks.size(); index++) { WakeLock wl = mWakeLocks.get(index); if(wl != null) { if(wl.mTag.startsWith("*sync*") && wl.mOwnerUid == Process.SYSTEM_UID) { releaseWakeLockInternal(wl.mLock, wl.mFlags); index--; if (DEBUG_SPEW) Slog.v(TAG, "Internally releasing the wakelock" + "acquired by SyncManager"); continue; } // release the wakelock for the blocked uid if (wl.mOwnerUid == uid || checkWorkSourceObjectId(uid, wl)) { releaseWakeLockInternal(wl.mLock, wl.mFlags); Loading Loading
services/java/com/android/server/power/PowerManagerService.java +7 −0 Original line number Diff line number Diff line Loading @@ -838,6 +838,13 @@ public final class PowerManagerService extends IPowerManager.Stub for (int index = 0; index < mWakeLocks.size(); index++) { WakeLock wl = mWakeLocks.get(index); if(wl != null) { if(wl.mTag.startsWith("*sync*") && wl.mOwnerUid == Process.SYSTEM_UID) { releaseWakeLockInternal(wl.mLock, wl.mFlags); index--; if (DEBUG_SPEW) Slog.v(TAG, "Internally releasing the wakelock" + "acquired by SyncManager"); continue; } // release the wakelock for the blocked uid if (wl.mOwnerUid == uid || checkWorkSourceObjectId(uid, wl)) { releaseWakeLockInternal(wl.mLock, wl.mFlags); Loading