commit | e37f81e5a44cde4f5a6551889953d1b8a8ca0038 | [log] [tgz] |
---|---|---|
author | Svetoslav <svetoslavganov@google.com> | Tue Jun 04 18:27:14 2013 -0700 |
committer | Svetoslav <svetoslavganov@google.com> | Tue Jun 04 18:27:17 2013 -0700 |
tree | 7f6ff3dcb4fdac2edbfbc90d69dfeb67b9089fef | |
parent | d8da72be619c856c589a21805e065fff09d2e667 [diff] |
Optimizing AccessibilityNodeInfo caching (Monkey). Update monkey due to an API change. Main change:https://googleplex-android-review.googlesource.com/#/c/316822 Change-Id: Ib945c5e977925775569f2bbd78be9c7a66267480
diff --git a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java index 89679a1..e41a069 100644 --- a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java +++ b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java
@@ -139,7 +139,8 @@ int viewId = Integer.parseInt(viewString); int connectionId = sUiTestAutomationBridge.getConnectionId(); AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance(); - return client.findAccessibilityNodeInfoByAccessibilityId(connectionId, windowId, viewId, 0); + return client.findAccessibilityNodeInfoByAccessibilityId(connectionId, windowId, viewId, + false, 0); } private static AccessibilityNodeInfo getNodeByViewId(String viewId) throws MonkeyViewException {