Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b35b5f2b authored by Tobias Lindskog's avatar Tobias Lindskog Committed by android-build-merger
Browse files

Merge "Skip ANR for processes that have been killed"

am: 9d9cf5b3

Change-Id: I4c88713b7b174908faa6f8703257c40cabd59ae7
parents 2b283bd2 9d9cf5b3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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