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

Commit d5bcd441 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Flag clean up

Flag: android.tracing.perfetto_protolog_tracing
Flag: android.tracing.perfetto_transition_tracing
Change-Id: Ib0b1f9278a90dd58de0637b6a196e88d38d63777
parent b2728175
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -3650,18 +3650,6 @@ void Dumpstate::MaybeSnapshotUiTraces() {
        {"cmd", "window", "shell", "tracing", "save-for-bugreport"},
    };

    if (!android_tracing_perfetto_transition_tracing()) {
        dumpTracesForBugReportCommands.push_back({"dumpsys", "activity", "service",
                                                  "SystemUIService", "WMShell", "transitions",
                                                  "tracing", "save-for-bugreport"});
    }

    if (!android_tracing_perfetto_protolog_tracing()) {
        dumpTracesForBugReportCommands.push_back({"dumpsys", "activity", "service",
                                                  "SystemUIService", "WMShell", "protolog",
                                                  "save-for-bugreport"});
    }

    for (const auto& command : dumpTracesForBugReportCommands) {
        RunCommand(
            // Empty name because it's not intended to be classified as a bugreport section.