am 31462128: Merge "Avoid tearing down process groups twice."
* commit '314621287801ba4c71467aad4702114eeb4d9951': Avoid tearing down process groups twice.
This commit is contained in:
@@ -4874,9 +4874,11 @@ public final class ActivityManagerService extends ActivityManagerNative
|
||||
stats.noteProcessDiedLocked(app.info.uid, pid);
|
||||
}
|
||||
|
||||
Process.killProcessQuiet(pid);
|
||||
Process.killProcessGroup(app.info.uid, pid);
|
||||
app.killed = true;
|
||||
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 &&
|
||||
|
||||
Reference in New Issue
Block a user