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

Commit 9e0e0f11 authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "Ignore the system uid to avoid deadlocks"

This reverts commit 4a0256ee.
parent 4a0256ee
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -4259,9 +4259,6 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
    }
    public void noteStartWakeLock(int uid, String tag, int type) {
        if (uid == Process.SYSTEM_UID)
            return;
        Integer iuid = Integer.valueOf(uid);
        synchronized (this) {
            Integer count = mUidWakeLocks.get(iuid);
@@ -4277,9 +4274,6 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
    }
    public void noteStopWakeLock(int uid, String tag, int type) {
        if (uid == Process.SYSTEM_UID)
            return;
        Integer iuid = Integer.valueOf(uid);
        synchronized (this) {
            Integer count = mUidWakeLocks.get(iuid);