update 执行一致性检查后回到顶部
This commit is contained in:
@@ -485,6 +485,15 @@ object WeworkLoopImpl {
|
||||
return false
|
||||
}
|
||||
})
|
||||
LogUtils.v("回到消息列表顶部")
|
||||
for (item in list) {
|
||||
val childCount = item.parent?.parent?.parent?.childCount
|
||||
if (childCount == 4 || childCount == 5) {
|
||||
AccessibilityUtil.clickByNode(WeworkController.weworkService, item)
|
||||
sleep(Constant.POP_WINDOW_INTERVAL / 5)
|
||||
AccessibilityUtil.clickByNode(WeworkController.weworkService, item)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user