Commit 524ed6a7 authored by liuyang's avatar liuyang

手动停止修复,应用重置

parent 38ea59bf
...@@ -94,7 +94,7 @@ class Task : IAppBaseCallback { ...@@ -94,7 +94,7 @@ class Task : IAppBaseCallback {
this.launchApp(true) this.launchApp(true)
// 频道轮询处理 // 频道轮询处理
try { try {
val success = this.processChannels(0) var success = this.processChannels(0)
// 再次尝试 // 再次尝试
if (!success) { if (!success) {
if (this.status == "7") if (this.status == "7")
...@@ -105,7 +105,10 @@ class Task : IAppBaseCallback { ...@@ -105,7 +105,10 @@ class Task : IAppBaseCallback {
for (i in 0 until this.channelIndex) { for (i in 0 until this.channelIndex) {
AdbUtil.sendMultiKey(this.apkInfo.channelKeyEvent) AdbUtil.sendMultiKey(this.apkInfo.channelKeyEvent)
} }
this.processChannels(this.channelIndex) success = this.processChannels(this.channelIndex)
if (!success && this.status == "7")
return
} }
// 上传图片 // 上传图片
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment