Merge "[AM] Skip unnessary ANR when process already died."

This commit is contained in:
Treehugger Robot
2016-09-16 18:16:22 +00:00
committed by Gerrit Code Review

View File

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