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

Commit 9c3cac22 authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Be more robust against premature process crash." into main

parents 73330b61 92453575
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -4852,8 +4852,10 @@ public class ActivityManagerService extends IActivityManager.Stub
        } else {
            Slog.wtf(TAG, "Mismatched or missing ProcessRecord: " + app + ". Pid: " + pid
                    + ". Uid: " + uid);
            if (pid > 0) {
                killProcess(pid);
                killProcessGroup(uid, pid);
            }
            mProcessList.noteAppKill(pid, uid,
                    ApplicationExitInfo.REASON_INITIALIZATION_FAILURE,
                    ApplicationExitInfo.SUBREASON_UNKNOWN,