对接部分接口

This commit is contained in:
juntao
2022-04-27 17:47:36 +08:00
parent 25768d8cae
commit 331e4fc410
16 changed files with 298 additions and 38 deletions

View File

@ -148,6 +148,10 @@ public class GameUtils {
return context.getString(R.string.launch);
}
if ("smooth".equals(gameEntity.getDownloadStatus())) {
return context.getString(R.string.smooth);
}
if (doneCount != 0) {
return context.getString(R.string.install);
} else if (pluginCount != 0 && !SimulatorGameManager.isSimulatorGame(gameEntity)) {
@ -158,9 +162,7 @@ public class GameUtils {
return context.getString(R.string.launch);
} else if ("demo".equals(gameEntity.getDownloadStatus())) {
return context.getString(R.string.attempt);
} else if ("smooth".equals(gameEntity.getDownloadStatus())) {
return context.getString(R.string.smooth);
} else {
} else {
return context.getString(R.string.download);
}
}