Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2738088 authored by Yichun Li's avatar Yichun Li
Browse files

Add drawing-order and hint to dump cmd xml output

Test: manual
Bug: 377620843
Change-Id: I79056ed78f71ee1bb4abc5e93de3e23ca5367248
parent 6529e9ee
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -217,6 +217,9 @@ public class AccessibilityNodeInfoDumper {
        serializer.attribute("", "selected", Boolean.toString(node.isSelected()));
        serializer.attribute("", "bounds", AccessibilityNodeInfoHelper.getVisibleBoundsInScreen(
                node, width, height).toShortString());
        serializer.attribute("", "drawing-order", Integer.toString(node.getDrawingOrder()));
        serializer.attribute("", "hint", safeCharSeqToString(node.getHintText()));

        int count = node.getChildCount();
        for (int i = 0; i < count; i++) {
            AccessibilityNodeInfo child = node.getChild(i);