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

Commit b322dc38 authored by yuanhuihui's avatar yuanhuihui Committed by android-build-merger
Browse files

Merge "fix persistent process is killed and restart again and again"

am: ae302cef

Change-Id: I31ead1fe09561e69df0cd94f366b2ef4648b29f3
parents 66741c2c ae302cef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11431,6 +11431,7 @@ public final class ActivityManagerService extends ActivityManagerNative
                && userId == UserHandle.USER_SYSTEM
                && (info.flags & PERSISTENT_MASK) == PERSISTENT_MASK) {
            r.persistent = true;
            r.maxAdj = ProcessList.PERSISTENT_PROC_ADJ;
        }
        addProcessNameLocked(r);
        return r;