Merge "Avoid tearing down process groups twice." into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
15cd63027b
@@ -4657,9 +4657,11 @@ public final class ActivityManagerService extends ActivityManagerNative
|
|||||||
stats.noteProcessDiedLocked(app.info.uid, pid);
|
stats.noteProcessDiedLocked(app.info.uid, pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
Process.killProcessQuiet(pid);
|
if (!app.killed) {
|
||||||
Process.killProcessGroup(app.info.uid, pid);
|
Process.killProcessQuiet(pid);
|
||||||
app.killed = true;
|
Process.killProcessGroup(app.info.uid, pid);
|
||||||
|
app.killed = true;
|
||||||
|
}
|
||||||
|
|
||||||
// Clean up already done if the process has been re-started.
|
// Clean up already done if the process has been re-started.
|
||||||
if (app.pid == pid && app.thread != null &&
|
if (app.pid == pid && app.thread != null &&
|
||||||
|
|||||||
Reference in New Issue
Block a user