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

Commit fe907d39 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove Perfetto transition tracing flag" into main

parents ab0b0c2d cdcc1517
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -1001,13 +1001,6 @@ TEST_F(DumpstateTest, DumpPool_withParallelRunDisabled_isNull) {
TEST_F(DumpstateTest, PreDumpUiData) {
    // These traces are always enabled, i.e. they are always pre-dumped
    std::vector<std::filesystem::path> uiTraces;
    if (!android_tracing_perfetto_transition_tracing()) {
        uiTraces.push_back(
            std::filesystem::path{"/data/misc/wmtrace/wm_transition_trace.winscope"});
        uiTraces.push_back(
            std::filesystem::path{"/data/misc/wmtrace/shell_transition_trace.winscope"});
    }

    for (const auto traceFile : uiTraces) {
        std::system(("rm -f " + traceFile.string()).c_str());
        EXPECT_FALSE(std::filesystem::exists(traceFile)) << traceFile << " was not deleted.";