diff options
author | Jinhui Wang <jinhuiw@google.com> | 2016-10-27 17:07:33 -0700 |
---|---|---|
committer | Jinhui Wang <jinhuiw@google.com> | 2016-10-27 17:07:33 -0700 |
commit | 5e63fb54c9d02cafdc6a90745a9d1c0fee17e54a (patch) | |
tree | b0f7507d9e18d35fb3bd83f6acf3f4e063b2d582 /libs/UiAutomatorLib/src/com/android | |
parent | 8062974ed10d2a20a77a3401bb14223ce385c962 (diff) | |
download | AfwTestHarness-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.java | 2 |
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}. |