From 3914b179cab46a8ecb1c038f8a80302ed1951907 Mon Sep 17 00:00:00 2001 From: Peter Kalauskas Date: Tue, 26 Nov 2024 15:49:23 -0800 Subject: Disable stack-walking for coroutine tracing Test: atest SystemUITests Bug: 375827224 Flag: com.android.systemui.coroutine_tracing Change-Id: I31057508661c54e1798084751b9e99e896fc3a61 --- packages/SystemUI/common/src/com/android/systemui/coroutines/Tracing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/common/src/com/android/systemui/coroutines/Tracing.kt b/packages/SystemUI/common/src/com/android/systemui/coroutines/Tracing.kt index efbdf4d1533d..0abeeb7d62a8 100644 --- a/packages/SystemUI/common/src/com/android/systemui/coroutines/Tracing.kt +++ b/packages/SystemUI/common/src/com/android/systemui/coroutines/Tracing.kt @@ -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") } -- cgit v1.2.3-59-g8ed1b