Merge "[ActivityManager] Fix process record leakage."
This commit is contained in:
@@ -6018,6 +6018,7 @@ public final class ActivityManagerService extends ActivityManagerNative
|
|||||||
// Take care of any services that are waiting for the process.
|
// Take care of any services that are waiting for the process.
|
||||||
mServices.processStartTimedOutLocked(app);
|
mServices.processStartTimedOutLocked(app);
|
||||||
app.kill("start timeout", true);
|
app.kill("start timeout", true);
|
||||||
|
removeLruProcessLocked(app);
|
||||||
if (mBackupTarget != null && mBackupTarget.app.pid == pid) {
|
if (mBackupTarget != null && mBackupTarget.app.pid == pid) {
|
||||||
Slog.w(TAG, "Unattached app died before backup, skipping");
|
Slog.w(TAG, "Unattached app died before backup, skipping");
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user