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

Commit a68c6d5d authored by Jing Ji's avatar Jing Ji Committed by android-build-merger
Browse files

Prevent system uid component from running in an isolated app process am: 84f2b227 am: 1c93e1d2

am: fd9f2622

Change-Id: I31cdde008f8e3df7eeb4ab6fb676a87ea215a0c5
parents 3b1c38ad fd9f2622
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1329,7 +1329,7 @@ public final class ProcessList {
            final int procCount = procs.size();
            for (int i = 0; i < procCount; i++) {
                final int procUid = procs.keyAt(i);
                if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) {
                if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
                    // Don't use an app process or different user process for system component.
                    continue;
                }