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

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

View File

@@ -5831,6 +5831,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 {