fix 修复错误
This commit is contained in:
@@ -32,6 +32,7 @@ object MyLooper {
|
|||||||
dealWithMessage(msg.obj as WeworkMessageBean)
|
dealWithMessage(msg.obj as WeworkMessageBean)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
LogUtils.e(e)
|
LogUtils.e(e)
|
||||||
|
uploadCommandResult(msg.obj as WeworkMessageBean, ExecCallbackBean.ERROR_ILLEGAL_OPERATION, e.message ?: "", 0L)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ object WeworkOperationImpl {
|
|||||||
selectList: List<String>?,
|
selectList: List<String>?,
|
||||||
groupAnnouncement: String?,
|
groupAnnouncement: String?,
|
||||||
groupRemark: String?,
|
groupRemark: String?,
|
||||||
groupTemplate: String
|
groupTemplate: String?
|
||||||
): Boolean {
|
): Boolean {
|
||||||
val startTime = System.currentTimeMillis()
|
val startTime = System.currentTimeMillis()
|
||||||
if (!WeworkRoomUtil.isGroupExists(groupName)) {
|
if (!WeworkRoomUtil.isGroupExists(groupName)) {
|
||||||
@@ -808,6 +808,7 @@ object WeworkOperationImpl {
|
|||||||
val imageView =
|
val imageView =
|
||||||
AccessibilityUtil.findOneByClazz(item, Views.ImageView, root = false)
|
AccessibilityUtil.findOneByClazz(item, Views.ImageView, root = false)
|
||||||
AccessibilityUtil.performClick(imageView)
|
AccessibilityUtil.performClick(imageView)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user