From 49c9eadd0b2570e40f206172879aedfea2933afd Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Fri, 3 Dec 2021 15:47:34 +0100 Subject: [PATCH] Add isVirtual flag to SF trace display Bug: 140855415 Test: build winscope, take a SF trace and check if the isVirtual flag appears on the display Change-Id: I5f6e5dba9f73f3464371166fb7ec8b589c3859c3 --- tools/winscope/src/flickerlib/layers/LayerTraceEntry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/winscope/src/flickerlib/layers/LayerTraceEntry.ts b/tools/winscope/src/flickerlib/layers/LayerTraceEntry.ts index 86e783670..8213c2ded 100644 --- a/tools/winscope/src/flickerlib/layers/LayerTraceEntry.ts +++ b/tools/winscope/src/flickerlib/layers/LayerTraceEntry.ts @@ -72,7 +72,8 @@ function newDisplay(proto: any): Display { proto.layerStack, toSize(proto.size), toRect(proto.layerStackSpaceRect), - toTransform(proto.transform) + toTransform(proto.transform), + proto.isVirtual ) }