am 8ddd5f4c: Merge "[ActivityManager] Fix process record leakage."

* commit '8ddd5f4cd6e0619bbcf374ce073f4bc8acdbb182':
  [ActivityManager] Fix process record leakage.
This commit is contained in:
Olawale Ogunwale
2015-01-12 16:26:45 +00:00
committed by Android Git Automerger

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 {