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

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

Merge "Enable stack-walking for default coroutine names" into main

parents 0875fe29 1fc3eac3
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) { className ->
    return createCoroutineTracingContext(name, walkStackForDefaultNames = true) { className ->
        className.startsWith("com.android.systemui.util.kotlin.JavaAdapter") ||
            className.startsWith("com.android.systemui.lifecycle.RepeatWhenAttached")
    }