Update winscope hierachy protolog parsing
ag/10181371 changed the formart of the protolog dump so mirroring the
changes in winscope
Bug:151140114
Change-Id: Ic9a53303e94d3924017c42b1c37a4a069b383118
(cherry picked from commit 758f832e363e9d754977a8700a984c1a17dece3f)
diff --git a/tools/winscope/src/transform_wm.js b/tools/winscope/src/transform_wm.js
index b6b9580..54a8d07 100644
--- a/tools/winscope/src/transform_wm.js
+++ b/tools/winscope/src/transform_wm.js
@@ -70,7 +70,8 @@
kind: 'task',
name: entry.id || 0,
children: [
- [entry.activity, transform_activity_record],
+ [entry.tasks, transform_task],
+ [entry.activities, transform_activity_record],
],
});
}
@@ -144,6 +145,7 @@
[entry.aboveAppWindows, transform_above],
[entry.imeWindows, transform_ime],
[entry.stacks, transform_stack],
+ [entry.tasks, transform_task],
[entry.belowAppWindows, transform_below],
],
bounds,