插件化判断修改

This commit is contained in:
huangzhuanghua
2016-10-19 11:49:17 +08:00
parent 40d8f17ce7
commit 4f0a2dd3c8
4 changed files with 8 additions and 4 deletions

View File

@ -133,6 +133,7 @@ public class DownloadItemUtils {
downloadBtn.setBackgroundResource(R.drawable.game_item_btn_download_style);
} else {
if (gameEntity.getTag() != null && gameEntity.getTag().size() != 0
&& !TextUtils.isEmpty(gameEntity.getApk().get(0).getGhVersion())
&& !PackageUtils.isSignature(context, gameEntity.getApk().get(0).getPackageName())) {
downloadBtn.setText("插件化");
DownloadEntity downloadEntity = DownloadManager.getInstance(context).getByPackage(