Merge "[ActivityManager] Fix process record leakage."

This commit is contained in:
Olawale Ogunwale
2015-01-12 13:44:15 +00:00
committed by Gerrit Code Review

View File

@@ -6018,6 +6018,7 @@ public final class ActivityManagerService extends ActivityManagerNative
// Take care of any services that are waiting for the process.
mServices.processStartTimedOutLocked(app);
app.kill("start timeout", true);
removeLruProcessLocked(app);
if (mBackupTarget != null && mBackupTarget.app.pid == pid) {
Slog.w(TAG, "Unattached app died before backup, skipping");
try {