update 优化检索

This commit is contained in:
gallonyin
2023-08-24 23:45:00 +08:00
parent e5f313f9f7
commit 4a6284a71d
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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()) {