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

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

Remove Perfetto transition tracing flag

Flag clean up

Bug: 417953251
Flag: android.tracing.perfetto_transition_tracing
Change-Id: I049c8847dd7f1d8adac43b621da1e5f8e612d2cb
parent ba0c2b9e
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.";