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

@ -129,7 +129,7 @@ public class PackageUtils {
// 畅玩游戏根据 md5 是否一致确定是否需要更新
if (gameEntity.isVGame()) {
VGameEntity vGameEntity = VHelper.getVGameSnapshot(apkEntity.getPackageName());
VGameEntity vGameEntity = VHelper.getVGameSnapshot(gameEntity.getId(), apkEntity.getPackageName());
if (vGameEntity != null) {
String md5FromInstalledVGame = ExtensionsKt.getMetaExtra(vGameEntity.getDownloadEntity(), Constants.APK_MD5);
String md5FromRequest = apkEntity.getMd5();