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

Commit c1e65680 authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

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

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