mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-15 19:22:26 +08:00
This commit is contained in:
parent
3fda835ade
commit
ed6e66159b
|
@ -249,7 +249,6 @@ fun safeTap(x: Float, y: Float): Boolean? {
|
|||
private fun IUserService.execCommandForResult(command: String): Boolean? {
|
||||
return try {
|
||||
val result = execCommand(command)
|
||||
LogUtils.d("safeTap", result)
|
||||
if (result != null) {
|
||||
json.decodeFromString<CommandResult>(result).code == 0
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user