From d1c80891d95d133f8ba77d0e3fa640e1432ffe9d Mon Sep 17 00:00:00 2001 From: Kean Mariotti Date: Wed, 31 May 2023 07:05:17 +0000 Subject: [PATCH] Change displayed trace descriptors Descriptor before: 'Transitions (wm_transition_trace.winscope (bugreport.zip), shell_transition_trace.winscope (bugreport.zip))' Descriptor after: 'wm_transition_trace.winscope (bugreport.zip), shell_transition_trace.winscope (bugreport.zip)' Fix: b/285561971 Test: load trace and check the displayed descriptor Change-Id: Ia96c58d563036c68e2d9ab428a94051a23a6a5b9 --- tools/winscope/src/app/components/app_component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winscope/src/app/components/app_component.ts b/tools/winscope/src/app/components/app_component.ts index 512b19815..f249c0c06 100644 --- a/tools/winscope/src/app/components/app_component.ts +++ b/tools/winscope/src/app/components/app_component.ts @@ -356,7 +356,7 @@ export class AppComponent implements TraceDataListener { return ''; } - return `${TRACE_INFO[trace.type].name} (${trace.descriptors.join(', ')})`; + return `${trace.descriptors.join(', ')}`; } private getActiveTrace(view: View): LoadedTrace | undefined {