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

Commit ae302cef authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents e43c1a3e 05efd438
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;