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);
|
||||
}
|
||||
|
||||
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