Commit 70ba0ce4 authored by liuyang's avatar liuyang

APK图片抓取识别及轮播流地址抓取, 修复图片上传异常

#BYLSERVER-1438
parent 74215d04
......@@ -12,8 +12,8 @@ android {
applicationId "com.duolebo.bylrobot"
minSdkVersion 15
targetSdkVersion 22
versionCode 23
versionName "1.6.3"
versionCode 28
versionName "1.6.8"
}
signingConfigs {
......
......@@ -115,9 +115,13 @@ class ImageUploadTask {
val lastUploadPos = getLastUploadImagePos()
Log.i(TAG, "get last upload pos:$lastUploadPos")
val size = this.uploadImages.size
// 移除所有已经上传的图片
if (lastUploadPos >= size -1)
return
// 需要重新上传的图片
val reUploadImages = this.uploadImages.subList(lastUploadPos, size - 1)
this.uploadImages.removeAll(reUploadImages)
this.uploadImages = ArrayList()
this.uploadImages.addAll(reUploadImages)
this.reUpload = true
this.isUploadChecking = false
}
......
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