Merge "Skip ANR for processes that have been killed" am: 9d9cf5b383

am: b35b5f2bd1

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

View File

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