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

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

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

parents c06ca2ca ecaf8dc1
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@


package com.android.internal.inputmethod;
package com.android.internal.inputmethod;


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.NonNull;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.Nullable;
@@ -55,7 +55,7 @@ final class ImeTracingPerfettoImpl extends ImeTracing {
        DataSourceParams params =
        DataSourceParams params =
                new DataSourceParams.Builder()
                new DataSourceParams.Builder()
                        .setBufferExhaustedPolicy(
                        .setBufferExhaustedPolicy(
                                PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_ABORT)
                                PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_DROP)
                        .setNoFlush(true)
                        .setNoFlush(true)
                        .setWillNotifyOnStop(false)
                        .setWillNotifyOnStop(false)
                        .build();
                        .build();