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

Commit 8b1a63d3 authored by Jing Ji's avatar Jing Ji Committed by Automerger Merge Worker
Browse files

Merge "Skip noteAppKill if the attaching pid is unknown to us" into sc-dev am: c1e65680

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14676306

Change-Id: I24f11480926d52da734c5490c1a4749dacd14c74
parents e014f133 c1e65680
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -4324,8 +4324,8 @@ public class ActivityManagerService extends IActivityManager.Stub
            if (pid > 0 && pid != MY_PID) {
            if (pid > 0 && pid != MY_PID) {
                killProcessQuiet(pid);
                killProcessQuiet(pid);
                //TODO: killProcessGroup(app.info.uid, pid);
                //TODO: killProcessGroup(app.info.uid, pid);
                mProcessList.noteAppKill(app, ApplicationExitInfo.REASON_INITIALIZATION_FAILURE,
                // We can't log the app kill info for this process since we don't
                        ApplicationExitInfo.SUBREASON_UNKNOWN, "attach failed");
                // know who it is, so just skip the logging.
            } else {
            } else {
                try {
                try {
                    thread.scheduleExit();
                    thread.scheduleExit();