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

Commit 31462128 authored by Narayan Kamath's avatar Narayan Kamath Committed by Gerrit Code Review
Browse files

Merge "Avoid tearing down process groups twice."

parents 7bd28de5 c46f75ef
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -4874,9 +4874,11 @@ public final class ActivityManagerService extends ActivityManagerNative
            stats.noteProcessDiedLocked(app.info.uid, pid);
        }
        if (!app.killed) {
            Process.killProcessQuiet(pid);
            Process.killProcessGroup(app.info.uid, pid);
            app.killed = true;
        }
        // Clean up already done if the process has been re-started.
        if (app.pid == pid && app.thread != null &&