[3.2.0][应用升级] 定时时间到了之后,重置标记位

This commit is contained in:
renwj
2023-05-29 14:15:48 +08:00
parent 5a9da1f641
commit 685b3db8f1

View File

@@ -93,6 +93,9 @@ class UpgradeAppNetWorkManager private constructor() {
deleteApkFile()
}
delay(TimeUnit.HOURS.toMillis(1))
if (mDownloadRequested) {
mDownloadRequested = false
}
getAppUpgradeInfo(context, mac, screenType)
}.also {
upgradeJob = it