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

Commit 5b8833d9 authored by Mark Lu's avatar Mark Lu Committed by android-build-merger
Browse files

Merge "[AM] Skip unnessary ANR when process already died." am: 831a4aea am:...

Merge "[AM] Skip unnessary ANR when process already died." am: 831a4aea am: 57341808 am: 7aafc81c
am: 8b4da0ee

Change-Id: I1e5c79a6e332a4b72022a850ab8dd5f5182a1bca
parents fbbbc95d 8b4da0ee
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -771,6 +771,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