From aa2691832ba305bcf127ca3902de0d3aae6c20d6 Mon Sep 17 00:00:00 2001 From: Pablo Gamito Date: Wed, 14 Dec 2022 16:11:16 +0000 Subject: [PATCH] Don't set default SF config in proxy Forward the responsibility to the UI Fixes: 262563422 Change-Id: I6b9561ddeea1e6f30f7a52517b20eba269139a10 --- tools/winscope-ng/src/adb/winscope_proxy.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/winscope-ng/src/adb/winscope_proxy.py b/tools/winscope-ng/src/adb/winscope_proxy.py index bde28ef12..87ccecc4e 100644 --- a/tools/winscope-ng/src/adb/winscope_proxy.py +++ b/tools/winscope-ng/src/adb/winscope_proxy.py @@ -200,9 +200,7 @@ class SurfaceFlingerTraceConfig: """ def __init__(self) -> None: - # default config flags from frameworks/native/services/surfaceflinger/Tracing/LayerTracing.h - # TRACE_INPUT | TRACE_COMPOSITION | TRACE_EXTRA - self.flags = 1 << 1 | 1 << 2 | 1 << 3 + self.flags = 0 def add(self, config: str) -> None: self.flags |= CONFIG_FLAG[config]