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

Commit fd9f2622 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

Change-Id: I91b934962e65476e6efccce3d8ccdf4285f444d4
parents 94a58bd9 1c93e1d2
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;
                }