Show properties for DisplayAreas and DisplayContent
Test: open wm trace in winscope, check if properties of DC and DA are visible. Fixes: 149672519 Change-Id: Ib5181c655a84fec94307846333fc0b1cc29d38fc Change-Id: Ib442c75f031ceb72aa00493e46d502944827121c
This commit is contained in:
@@ -145,7 +145,7 @@ function transform_window_container_child(entry) {
|
||||
|
||||
// The WindowContainerChild may be unknown
|
||||
return transform({
|
||||
obj: {},
|
||||
obj: entry,
|
||||
kind: 'WindowContainerChild',
|
||||
name: '',
|
||||
children: [[entry.windowContainer.children.reverse(), transform_window_container_child],]
|
||||
@@ -155,7 +155,7 @@ function transform_window_container_child(entry) {
|
||||
|
||||
function transform_display_area(entry) {
|
||||
return transform({
|
||||
obj: {},
|
||||
obj: entry,
|
||||
kind: 'DisplayArea',
|
||||
name: entry.name,
|
||||
children: [
|
||||
@@ -170,10 +170,8 @@ function transform_display_content(entry) {
|
||||
height: entry.displayInfo.logicalHeight || 0,
|
||||
};
|
||||
|
||||
// If trace supports display areas
|
||||
var obj = (entry.rootDisplayArea != null) ? {} : entry;
|
||||
return transform({
|
||||
obj: obj,
|
||||
obj: entry,
|
||||
kind: 'display',
|
||||
name: entry.id || 0,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user