Merge "Skip ANR for processes that have been killed"

am: 9d9cf5b383

Change-Id: I4c88713b7b174908faa6f8703257c40cabd59ae7
This commit is contained in:
Tobias Lindskog
2016-09-14 14:00:54 +00:00
committed by android-build-merger

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