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

Commit 1986e42a authored by Pat Erley's avatar Pat Erley Committed by Steve Kondik
Browse files

ActivityManagerService: Don't export 'system' process in running app list

It is now considered a security risk to include the system process in the
list of active processes by upstream, so exclude it.

LETTUCE-742

Change-Id: I910f33a5efeddce5f3be9c87a2bfa991dd3a1f77
parent 6ef7611b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -12873,6 +12873,9 @@ public final class ActivityManagerService extends ActivityManagerNative
                        || (!allUids && app.uid != callingUid)) {
                    continue;
                }
                if (app.processName.equals("system")) {
                    continue;
                }
                if ((app.thread != null) && (!app.crashing && !app.notResponding)) {
                    // Generate process state info for running application
                    ActivityManager.RunningAppProcessInfo currApp =