Commit 84e74eae authored by liuyang's avatar liuyang

任务中断恢复

parent 59ec27c5
......@@ -97,6 +97,7 @@ class Task : IAppBaseCallback {
}
this.processChannels(this.channelIndex)
}
// 上传图片
this.uploadImage()
this.status = "4"
......@@ -105,6 +106,9 @@ class Task : IAppBaseCallback {
e.printStackTrace()
}
// 上报数据,上传图片在后台进行
report()
// 退出应用
AdbUtil.stopApp(this.apkInfo.packageName)
}
......@@ -318,7 +322,7 @@ class Task : IAppBaseCallback {
}
private fun uploadComplete(errorCount: Int) {
report()
Log.i(TAG, "upload errorCount: $errorCount")
}
private fun uploadImageCallback(): UploadStatusDelegate {
......@@ -394,7 +398,6 @@ class Task : IAppBaseCallback {
finish(true)
}
var taskListener: OnTaskListener? = null
interface OnTaskListener {
......
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