Updated the Monkey runner to reflect changes to some private APIs it uses.

bug:5382859

Change-Id: I67f8e4c7604d5466621e4655218e24f663d9efe6
This commit is contained in:
Svetoslav Ganov
2011-10-17 10:56:12 -07:00
parent 009d3b25fa
commit f87d80fabe

View File

@@ -345,7 +345,7 @@ public class MonkeySourceNetworkViews {
if (command.size() == 2) { if (command.size() == 2) {
String text = command.get(1); String text = command.get(1);
List<AccessibilityNodeInfo> nodes = AccessibilityInteractionClient.getInstance() List<AccessibilityNodeInfo> nodes = AccessibilityInteractionClient.getInstance()
.findAccessibilityNodeInfosByViewTextInActiveWindow(sConnection, text); .findAccessibilityNodeInfosByTextInActiveWindow(sConnection, text);
ViewIntrospectionCommand idGetter = new GetAccessibilityIds(); ViewIntrospectionCommand idGetter = new GetAccessibilityIds();
List<String> emptyArgs = new ArrayList<String>(); List<String> emptyArgs = new ArrayList<String>();
StringBuilder ids = new StringBuilder(); StringBuilder ids = new StringBuilder();