update 优化扫码登录
This commit is contained in:
@@ -1691,7 +1691,11 @@ object WeworkOperationImpl {
|
||||
if (AccessibilityUtil.findTextAndClick(getRoot(), "登录", exact = true, timeout = Constant.LONG_INTERVAL * 2)) {
|
||||
LogUtils.i("点击登录")
|
||||
uploadCommandResult(message, ExecCallbackBean.SUCCESS, "点击登录", startTime)
|
||||
sleep(Constant.CHANGE_PAGE_INTERVAL * 2)
|
||||
sleep(Constant.CHANGE_PAGE_INTERVAL * 3)
|
||||
if (AccessibilityExtraUtil.loadingPage("WwMainActivity", timeout = 0)) {
|
||||
AccessibilityUtil.findTextAndClick(getRoot(), "继续登录", exact = true)
|
||||
sleep(Constant.CHANGE_PAGE_INTERVAL * 3)
|
||||
}
|
||||
return true
|
||||
} else {
|
||||
LogUtils.e("未找到登录按钮")
|
||||
|
||||
Reference in New Issue
Block a user