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

Commit 3914b179 authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

Disable stack-walking for coroutine tracing

Test: atest SystemUITests
Bug: 375827224
Flag: com.android.systemui.coroutine_tracing
Change-Id: I31057508661c54e1798084751b9e99e896fc3a61
parent f41f24f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import com.android.app.tracing.coroutines.createCoroutineTracingContext
import kotlin.coroutines.CoroutineContext

fun newTracingContext(name: String): CoroutineContext {
    return createCoroutineTracingContext(name, walkStackForDefaultNames = true) { className ->
    return createCoroutineTracingContext(name, walkStackForDefaultNames = false) { className ->
        className.startsWith("com.android.systemui.util.kotlin.JavaAdapter") ||
            className.startsWith("com.android.systemui.lifecycle.RepeatWhenAttached")
    }