From 4a6284a71d0f8d1eed93f79e09911b3225c11127 Mon Sep 17 00:00:00 2001 From: gallonyin Date: Thu, 24 Aug 2023 23:45:00 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E6=A3=80=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yameida/worktool/service/WeworkOperationImpl.kt | 12 ++++++------ .../org/yameida/worktool/utils/WeworkRoomUtil.kt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt b/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt index 3f4cbda..6624e4e 100644 --- a/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt +++ b/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt @@ -1417,7 +1417,7 @@ object WeworkOperationImpl { val matchSelect = AccessibilityUtil.findOneByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) if (selectListView != null && matchSelect != null) { @@ -1531,7 +1531,7 @@ object WeworkOperationImpl { val matchSelect = AccessibilityUtil.findOneByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) if (selectListView != null && matchSelect != null) { @@ -1930,7 +1930,7 @@ object WeworkOperationImpl { val matchSelect = AccessibilityUtil.findOneByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) if (selectListView != null && matchSelect != null) { @@ -2138,7 +2138,7 @@ object WeworkOperationImpl { val matchSelect = AccessibilityUtil.findOneByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) if (selectListView != null && (matchSelect != null || reverseRegexTitle.matches(Constant.regMail))) { @@ -2263,7 +2263,7 @@ object WeworkOperationImpl { val matchSelect = AccessibilityUtil.findOneByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) if (selectListView != null && matchSelect != null) { @@ -2609,7 +2609,7 @@ object WeworkOperationImpl { val matchSelect = AccessibilityUtil.findOneByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) var isSelect = false diff --git a/app/src/main/java/org/yameida/worktool/utils/WeworkRoomUtil.kt b/app/src/main/java/org/yameida/worktool/utils/WeworkRoomUtil.kt index afc6de2..926abf4 100644 --- a/app/src/main/java/org/yameida/worktool/utils/WeworkRoomUtil.kt +++ b/app/src/main/java/org/yameida/worktool/utils/WeworkRoomUtil.kt @@ -122,7 +122,7 @@ object WeworkRoomUtil { val searchResult = AccessibilityUtil.findAllByTextRegex( selectListView, regex, - timeout = 2000, + timeout = Constant.CHANGE_PAGE_INTERVAL * 3, root = false ) if (searchResult.isNotEmpty()) {