commit | f87d80fabed7ca96268d76daaa2e5d5341227322 | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Mon Oct 17 10:56:12 2011 -0700 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Mon Oct 17 11:00:06 2011 -0700 |
tree | 3ab80da41c679810d74969cd2e313f979e8807bd | |
parent | 009d3b25faeef5937bc9dccd8fa865109bb9ca51 [diff] |
Updated the Monkey runner to reflect changes to some private APIs it uses. bug:5382859 Change-Id: I67f8e4c7604d5466621e4655218e24f663d9efe6
diff --git a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java index b6b08a9..8061875 100644 --- a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java +++ b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetworkViews.java
@@ -345,7 +345,7 @@ if (command.size() == 2) { String text = command.get(1); List<AccessibilityNodeInfo> nodes = AccessibilityInteractionClient.getInstance() - .findAccessibilityNodeInfosByViewTextInActiveWindow(sConnection, text); + .findAccessibilityNodeInfosByTextInActiveWindow(sConnection, text); ViewIntrospectionCommand idGetter = new GetAccessibilityIds(); List<String> emptyArgs = new ArrayList<String>(); StringBuilder ids = new StringBuilder();