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

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

Merge "WM tracing: use "stall and drop" policy" into main

parents d5fbe3fa b9587f73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.server.wm;

import static android.tracing.perfetto.DataSourceParams.PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_ABORT;
import static android.tracing.perfetto.DataSourceParams.PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_DROP;

import android.annotation.IntDef;
import android.annotation.NonNull;
@@ -123,7 +123,7 @@ public final class WindowTracingDataSource extends DataSource<WindowTracingDataS
        DataSourceParams params =
                new DataSourceParams.Builder()
                        .setBufferExhaustedPolicy(
                                PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_ABORT)
                                PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_DROP)
                        .setPostponeStop(true)
                        .build();
        register(params);