Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun skipSmartLock() {
- val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
- val noneButton = device.findObject(UiSelector().textMatches("(上記以外)|(NONE OF THE ABOVE)").className("android.widget.Button"))
- if (noneButton.exists()) {
- noneButton.click()
- }
- }
Add Comment
Please, Sign In to add comment