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

Commit 1d521f81 authored by Mohamad Mahmoud's avatar Mohamad Mahmoud
Browse files

Avoid printing the durations array twice on early dump copy failure

Test: Tested manually
Bug: 286023225
Change-Id: I769e5567bd115d2ddcb84e0cf5689183a4662726
parent 0b144bc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ public class StackTracesDumpHelper {
                firstPidEnd = new File(tracesFile).length();
            }
            // Append the Durations/latency comma separated array after the first PID.
            if (latencyTracker != null) {
            if (firstPidTempDumpCopied && latencyTracker != null) {
                appendtoANRFile(tracesFile,
                        latencyTracker.dumpAsCommaSeparatedArrayWithHeader());
            }