光环助手V4.4.0-数据统计需求(单机模拟器)(一、1,二) https://gitlab.ghzs.com/pm/halo-app-issues/-/issues/1033

This commit is contained in:
张玉久
2020-10-21 17:16:24 +08:00
parent 08763aeb2d
commit a6f9e12082
10 changed files with 67 additions and 25 deletions

View File

@ -588,7 +588,8 @@ public class DownloadItemUtils {
if (gameEntity.getSimulator() != null) {
boolean isInstalled = PackageUtils.isInstalled(context, gameEntity.getSimulator().getApk().getPackageName());
if (downloadEntity != null && SimulatorGameManager.isSimulatorGame(gameEntity) && !isInstalled) {
SimulatorDownloadManager.getInstance().showDownloadDialog(context, gameEntity.getSimulator());
SimulatorDownloadManager.getInstance().showDownloadDialog(context, gameEntity.getSimulator(),
SimulatorDownloadManager.SimulatorLocation.LAUNCH, gameEntity.getId(), gameEntity.getName());
return;
}
}