feat: 新增畅玩32位游戏类型 https://jira.shanqu.cc/browse/GHZS-2637

This commit is contained in:
chenjuntao
2023-06-07 11:15:17 +08:00
parent f50ce741ae
commit 134cb327ec
7 changed files with 16 additions and 8 deletions

View File

@ -8,6 +8,7 @@ import androidx.annotation.WorkerThread;
import com.gh.common.constant.Config;
import com.gh.common.simulator.SimulatorGameManager;
import com.gh.gamecenter.common.constant.Constants;
import com.gh.gamecenter.feature.view.DownloadButton;
import com.gh.download.DownloadManager;
import com.gh.gamecenter.R;
@ -180,7 +181,8 @@ public class GameUtils {
if (gameEntity.isVGame()) {
return context.getString(R.string.smooth);
} else {
if ("smooth".equals(gameEntity.getDownloadStatus())) {
if (Constants.V_GAME.equals(gameEntity.getDownloadStatus())
|| Constants.V_GAME_32.equals(gameEntity.getDownloadStatus())) {
GameEntity.GameCategory gameCategory = gameEntity.getGameCategory();
if (gameCategory.equals(GameEntity.GameCategory.ONLINE_GAME)
|| gameCategory.equals(GameEntity.GameCategory.INTERNATIONAL_ONLINE_GAME)) {