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 758f832e36)
This commit is contained in:
Vadim Caen
2020-02-12 17:15:49 +01:00
committed by Vishnu Nair
parent b0467a5d48
commit d654c9e302

View File

@@ -70,7 +70,8 @@ function transform_task(entry) {
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 @@ function transform_display(entry) {
[entry.aboveAppWindows, transform_above],
[entry.imeWindows, transform_ime],
[entry.stacks, transform_stack],
[entry.tasks, transform_task],
[entry.belowAppWindows, transform_below],
],
bounds,