aboutsummaryrefslogtreecommitdiff
path: root/libs/UiAutomatorLib/src/com/android
diff options
context:
space:
mode:
authorJinhui Wang <jinhuiw@google.com>2016-10-27 17:07:33 -0700
committerJinhui Wang <jinhuiw@google.com>2016-10-27 17:07:33 -0700
commit5e63fb54c9d02cafdc6a90745a9d1c0fee17e54a (patch)
treeb0f7507d9e18d35fb3bd83f6acf3f4e063b2d582 /libs/UiAutomatorLib/src/com/android
parent8062974ed10d2a20a77a3401bb14223ce385c962 (diff)
downloadAfwTestHarness-5e63fb54c9d02cafdc6a90745a9d1c0fee17e54a.tar.gz
Auto click on "OK" buttons
Change-Id: I07ad2e67c3230eaaff2e28af4906816ae8162635
Diffstat (limited to 'libs/UiAutomatorLib/src/com/android')
-rw-r--r--libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/test/AfwTestUiWatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/test/AfwTestUiWatcher.java b/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/test/AfwTestUiWatcher.java
index 1dac8a1..723d7d9 100644
--- a/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/test/AfwTestUiWatcher.java
+++ b/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/test/AfwTestUiWatcher.java
@@ -84,7 +84,7 @@ public final class AfwTestUiWatcher implements UiWatcher {
* Words to match for "Accept" button's text or description.
*/
private static final String[] ACCEPT_WORDS = {
- "accept", "agree", "allow", "close", "yes"};
+ "accept", "agree", "allow", "close", "ok", "yes"};
/**
* {@link Pattern} to match any "Accept" word in {@link #ACCEPT_WORDS}.