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

Commit 3a110ac6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Copy predump file's output in case of timeout" into udc-dev am: d2829c9c

parents 0e5592a2 d2829c9c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -392,11 +392,9 @@ public class StackTracesDumpHelper {
            if (TEMP_DUMP_TIME_LIMIT <= timeTaken) {
                Slog.e(TAG, "Aborted stack trace dump (current primary pid=" + pid
                        + "); deadline exceeded.");
                tmpTracesFile.delete();
                if (latencyTracker != null) {
                    latencyTracker.dumpStackTracesTempFileTimedOut();
                }
                return null;
            }
            if (DEBUG_ANR) {
                Slog.d(TAG, "Done with primary pid " + pid + " in " + timeTaken + "ms"