fix 修复错误

This commit is contained in:
gallonyin
2022-10-28 16:45:08 +08:00
parent 1f0f42fc35
commit 94118aed48
2 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ object MyLooper {
dealWithMessage(msg.obj as WeworkMessageBean)
} catch (e: Exception) {
LogUtils.e(e)
uploadCommandResult(msg.obj as WeworkMessageBean, ExecCallbackBean.ERROR_ILLEGAL_OPERATION, e.message ?: "", 0L)
}
}
}

View File

@@ -211,7 +211,7 @@ object WeworkOperationImpl {
selectList: List<String>?,
groupAnnouncement: String?,
groupRemark: String?,
groupTemplate: String
groupTemplate: String?
): Boolean {
val startTime = System.currentTimeMillis()
if (!WeworkRoomUtil.isGroupExists(groupName)) {
@@ -808,6 +808,7 @@ object WeworkOperationImpl {
val imageView =
AccessibilityUtil.findOneByClazz(item, Views.ImageView, root = false)
AccessibilityUtil.performClick(imageView)
break
}
}
}