fix: 修复畅玩空间和畅玩游戏的更新问题
feat: 添加暴力的畅玩游戏备份/恢复逻辑
This commit is contained in:
@ -144,7 +144,7 @@ public class UpdateManager {
|
||||
}
|
||||
|
||||
if (DownloadStatus.done.equals(downloadEntity.getStatus())) {
|
||||
DownloadManager.getInstance().cancel(downloadEntity.getUrl(), false, true);
|
||||
DownloadManager.getInstance().cancel(downloadEntity.getUrl(), false, true, false);
|
||||
if (downloadDialog != null) {
|
||||
try {
|
||||
downloadDialog.dismiss();
|
||||
@ -517,7 +517,7 @@ public class UpdateManager {
|
||||
}
|
||||
|
||||
downloadEntity.setPackageName(mApplicationContext.getPackageName());
|
||||
DownloadManager.getInstance().cancel(appEntity.getUrl(), true, true);
|
||||
DownloadManager.getInstance().cancel(appEntity.getUrl(), true, true, false);
|
||||
DownloadManager.getInstance().pauseAll();
|
||||
|
||||
AppExecutor.getUiExecutor().executeWithDelay(() -> {
|
||||
|
||||
Reference in New Issue
Block a user