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

Commit 39f4a584 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato Committed by Nicolò Mazzucato
Browse files

Enable tracing of flow emission count in FlowTracing

Bug: 311396071
Bug: 322133256
Flag: None
Test: Checked perfetto trace of DisplayRepository
Change-Id: Ibd23cb0685b2dcc8d83bb8d3e1754f399979ebfd
parent 1e7e21d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -292,7 +292,7 @@ constructor(

    private fun <T> Flow<T>.debugLog(flowName: String): Flow<T> {
        return if (DEBUG) {
            traceEach(flowName, logcat = true)
            traceEach(flowName, logcat = true, traceEmissionCount = true)
        } else {
            this
        }