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

Commit 5a90662f authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Print ANR filename on logcat

Bug: 123720446
Test: Manual, with ActivityManagerService.maybeTriggerWatchdog()
Change-Id: Id2d8e61b4036f039131a09e0be87bbfc6aaf84ec
parent 6f6ab378
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3585,6 +3585,9 @@ public class ActivityManagerService extends IActivityManager.Stub
        if (tracesFile == null) {
            return null;
        }
        if (DEBUG_ANR) {
            Slog.d(TAG, "Dumping to " + tracesFile.getAbsolutePath());
        }
        dumpStackTraces(tracesFile.getAbsolutePath(), firstPids, nativePids, extraPids);
        return tracesFile;