完成更新推送功能优化0826补充及UI调整 https://gitlab.ghzs.com/pm/halo-app-issues/-/issues/946
This commit is contained in:
@ -111,7 +111,7 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
// 判断是不是这个版本的新用户
|
||||
if (isNewFirstLaunch) {
|
||||
// 删除更新后的光环助手包
|
||||
List<DownloadEntity> all = DownloadManager.getInstance(this).getAll();
|
||||
List<DownloadEntity> all = DownloadManager.getInstance(this).getAllDownloadEntity();
|
||||
for (DownloadEntity downloadEntity : all) {
|
||||
if (downloadEntity.getPackageName().equals(getPackageName())) {
|
||||
DownloadManager.getInstance(this).cancel(downloadEntity.getUrl(), true, true);
|
||||
|
||||
Reference in New Issue
Block a user