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

Commit fbba3f41 authored by Narayan Kamath's avatar Narayan Kamath Committed by android-build-merger
Browse files

am bc59ca4b: am 31462128: Merge "Avoid tearing down process groups twice."

automerge: 06024047

* commit '06024047':
  Avoid tearing down process groups twice.
parents 5e41c668 06024047
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -4657,9 +4657,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 &&