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

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

Merge "Disable stack-walking for coroutine tracing" into main

parents e7df3755 3914b179
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@ import com.android.app.tracing.coroutines.createCoroutineTracingContext
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.CoroutineContext


fun newTracingContext(name: String): 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.util.kotlin.JavaAdapter") ||
            className.startsWith("com.android.systemui.lifecycle.RepeatWhenAttached")
            className.startsWith("com.android.systemui.lifecycle.RepeatWhenAttached")
    }
    }