Merge "Skip ANR for processes that have been killed"

This commit is contained in:
Treehugger Robot
2016-09-14 13:54:36 +00:00
committed by Gerrit Code Review

View File

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