Skip to content

Commit

Permalink
update 执行一致性检查后回到顶部
Browse files Browse the repository at this point in the history
  • Loading branch information
gallonyin committed Mar 27, 2023
1 parent 8dc12e9 commit 6cbbf8f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
}
}
Expand Down

0 comments on commit 6cbbf8f

Please sign in to comment.