Merge "[AM] Skip unnessary ANR when process already died." am: 831a4aea1e

am: 57341808f1

Change-Id: I95e71746ddf33247da1b81c9036b3f46d89f446e
This commit is contained in:
Mark Lu
2016-09-16 18:30:41 +00:00
committed by android-build-merger

View File

@@ -762,6 +762,9 @@ class AppErrors {
} else if (app.killedByAm) {
Slog.i(TAG, "App already killed by AM skipping ANR: " + app + " " + annotation);
return;
} else if (app.killed) {
Slog.i(TAG, "Skipping died app ANR: " + app + " " + annotation);
return;
}
// In case we come through here for the same app before completing