Merge "Copy predump file's output in case of timeout" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d2829c9c64
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user