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

Commit a10d528f authored by Kean Mariotti's avatar Kean Mariotti
Browse files

viewcapture tracing: use "stall and drop" policy

Adapt PerfettoViewCapture to use the tracing policy
PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_DROP.

Flag: EXEMPT trivial
Bug: 418676887
Test: presubmit
Change-Id: Id6b5bb2c5a940b225b74b6476b11a2eaa72d55b9
parent 6828c98f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ internal constructor(private val context: Context, executor: Executor) :
        val dataSourceParams =
            DataSourceParams.Builder()
                .setBufferExhaustedPolicy(
                    DataSourceParams.PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_ABORT
                    DataSourceParams.PERFETTO_DS_BUFFER_EXHAUSTED_POLICY_STALL_AND_DROP
                )
                .setNoFlush(true)
                .setWillNotifyOnStop(false)