对接部分接口
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user