diff options
author | 2024-11-15 18:11:39 +0000 | |
---|---|---|
committer | 2024-11-15 18:11:39 +0000 | |
commit | e60636fec5618b4980e9f649632dbb59f47a25bc (patch) | |
tree | ff4663f4bd0e58732b2a974a03a5c154cb9b9e93 /cmds | |
parent | e9c62a653553c39ca2cd5217b8f7a92e42275d14 (diff) | |
parent | a0ba9680a0e1ec358e08b91d68c91e85867f639e (diff) |
Merge "Add drawing-order and hint to dump cmd xml output" into main am: b25ded068b am: a0ba9680a0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3349921
Change-Id: I1ff371330ce82da5a64d8d8b31cb2f5d7c7b9569
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/uiautomator/library/core-src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/uiautomator/library/core-src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java b/cmds/uiautomator/library/core-src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java index f726361effd6..a88796c38166 100644 --- a/cmds/uiautomator/library/core-src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java +++ b/cmds/uiautomator/library/core-src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java @@ -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); |