Merge "Avoid printing the durations array twice on early dump copy failure" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
59e7d6ad55
@@ -229,7 +229,7 @@ public class StackTracesDumpHelper {
|
|||||||
firstPidEnd = new File(tracesFile).length();
|
firstPidEnd = new File(tracesFile).length();
|
||||||
}
|
}
|
||||||
// Append the Durations/latency comma separated array after the first PID.
|
// Append the Durations/latency comma separated array after the first PID.
|
||||||
if (latencyTracker != null) {
|
if (firstPidTempDumpCopied && latencyTracker != null) {
|
||||||
appendtoANRFile(tracesFile,
|
appendtoANRFile(tracesFile,
|
||||||
latencyTracker.dumpAsCommaSeparatedArrayWithHeader());
|
latencyTracker.dumpAsCommaSeparatedArrayWithHeader());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user