summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-06-04 18:27:14 -0700
committerSvetoslav <svetoslavganov@google.com>2013-06-04 18:27:17 -0700
commite37f81e5a44cde4f5a6551889953d1b8a8ca0038 (patch)
tree7f6ff3dcb4fdac2edbfbc90d69dfeb67b9089fef /cmds
parentd8da72be619c856c589a21805e065fff09d2e667 (diff)
downloadandroid_development-e37f81e5a44cde4f5a6551889953d1b8a8ca0038.tar.gz
android_development-e37f81e5a44cde4f5a6551889953d1b8a8ca0038.tar.bz2
android_development-e37f81e5a44cde4f5a6551889953d1b8a8ca0038.zip
Optimizing AccessibilityNodeInfo caching (Monkey).
Update monkey due to an API change. Main change:https://googleplex-android-review.googlesource.com/#/c/316822 Change-Id: Ib945c5e977925775569f2bbd78be9c7a66267480
Diffstat (limited to 'cmds')
-rw-r--r--cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java
index 89679a14a..e41a0699e 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 @@ public class MonkeySourceNetworkViews {
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 {