抽离部分java代码中的字符串,equals判断常量放在前面

This commit is contained in:
kehaoyuan
2017-10-14 15:52:15 +08:00
parent 4290846698
commit 52433ba347
36 changed files with 75 additions and 60 deletions

View File

@ -134,7 +134,7 @@ public class UpdateManager {
gameUpdateEntity.setVersion(appEntity.getVersion());
gameUpdateEntity.setUrl(appEntity.getUrl());
gameUpdateEntity.setPlatform("官方版");
gameUpdateEntity.setId("5618b86e8ab49e17088b4575");
gameUpdateEntity.setId(mContext.getString(R.string.ghzs_id));
PackageManager.addUpdate(0, gameUpdateEntity);
if (isCheck) {