fix 移除打印代码
This commit is contained in:
@@ -587,7 +587,6 @@ object WeworkOperationImpl {
|
|||||||
if (shareToWorkButton != null
|
if (shareToWorkButton != null
|
||||||
&& WeworkController.weworkService.currentPackage != Constant.PACKAGE_NAMES) {
|
&& WeworkController.weworkService.currentPackage != Constant.PACKAGE_NAMES) {
|
||||||
LogUtils.e("尝试手势点击!!!!!")
|
LogUtils.e("尝试手势点击!!!!!")
|
||||||
AccessibilityUtil.printNodeClazzTree(shareToWorkButton)
|
|
||||||
AccessibilityUtil.clickByNode(WeworkController.weworkService, shareToWorkButton)
|
AccessibilityUtil.clickByNode(WeworkController.weworkService, shareToWorkButton)
|
||||||
sleep(Constant.CHANGE_PAGE_INTERVAL)
|
sleep(Constant.CHANGE_PAGE_INTERVAL)
|
||||||
shareToWorkButton = AccessibilityUtil.findOnceByText(getRoot(true), "发送给同事")
|
shareToWorkButton = AccessibilityUtil.findOnceByText(getRoot(true), "发送给同事")
|
||||||
@@ -663,7 +662,6 @@ object WeworkOperationImpl {
|
|||||||
if (shareToWorkButton != null
|
if (shareToWorkButton != null
|
||||||
&& WeworkController.weworkService.currentPackage != Constant.PACKAGE_NAMES) {
|
&& WeworkController.weworkService.currentPackage != Constant.PACKAGE_NAMES) {
|
||||||
LogUtils.e("尝试手势点击!!!!!")
|
LogUtils.e("尝试手势点击!!!!!")
|
||||||
AccessibilityUtil.printNodeClazzTree(shareToWorkButton)
|
|
||||||
AccessibilityUtil.clickByNode(WeworkController.weworkService, shareToWorkButton)
|
AccessibilityUtil.clickByNode(WeworkController.weworkService, shareToWorkButton)
|
||||||
sleep(Constant.CHANGE_PAGE_INTERVAL)
|
sleep(Constant.CHANGE_PAGE_INTERVAL)
|
||||||
shareToWorkButton = AccessibilityUtil.findOnceByText(getRoot(true), "发送给同事")
|
shareToWorkButton = AccessibilityUtil.findOnceByText(getRoot(true), "发送给同事")
|
||||||
|
|||||||
Reference in New Issue
Block a user