[6.1.0][应用升级] 将升级成功后的记录移除,防止重复上报
This commit is contained in:
@@ -253,6 +253,11 @@ class MoGoUpgradeProviderImpl: IMoGoUpgradeProvider {
|
||||
} catch (t: Throwable) {
|
||||
t.printStackTrace()
|
||||
}
|
||||
try {
|
||||
UpgradeDbHelper.deleteRecord(success.versionName)
|
||||
} catch (t:Throwable) {
|
||||
t.printStackTrace()
|
||||
}
|
||||
return@also
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user