fix: 修复畅玩游戏安装完成后会取消相同包名游戏下载任务的问题(20220729需求补充:测试反馈) https://git.shanqu.cc/pm/halo/halo-app-issues/-/issues/1955

This commit is contained in:
chenjuntao
2022-08-02 11:13:11 +08:00
parent 13ab6f7b38
commit 3e74b39b45
11 changed files with 50 additions and 76 deletions

View File

@ -109,7 +109,7 @@ public class GameUtils {
// 在下载管理找不到下载实体,并且为畅玩游戏的时候到畅玩数据库里找
if (downloadEntity == null && gameEntity.isVGame()) {
downloadEntity = VHelper.getDownloadEntitySnapshotByPackageName(apkEntity.getPackageName());
downloadEntity = VHelper.getDownloadEntitySnapshot(gameEntity.getId(), apkEntity.getPackageName());
}
if (downloadEntity != null) {