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

Commit 0716b0c1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Tracing the cause for saving bugreports" into tm-dev

parents fd64b4f2 6df9aa30
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -132,7 +132,9 @@ public class FailureWatcher extends TestWatcher {
        dumpCommand("logcat -d -s TestRunner", diagFile(description, "FilteredLogcat", "txt"));

        // Dump bugreport
        if (launcher.getSystemAnomalyMessage(false, false) != null) {
        final String systemAnomalyMessage = launcher.getSystemAnomalyMessage(false, false);
        if (systemAnomalyMessage != null) {
            Log.d(TAG, "Saving bugreport, system anomaly message: " + systemAnomalyMessage, e);
            dumpCommand("bugreportz -s", diagFile(description, "Bugreport", "zip"));
        }
    }