修复部分bug

This commit is contained in:
huangzhuanghua
2016-10-26 18:03:09 +08:00
parent 383b7bce21
commit b3e2f3545d
8 changed files with 18 additions and 14 deletions

View File

@ -500,7 +500,7 @@ public class DownloadItemUtils {
TextView downloadBtn,
String entrance,
String location) {
String msg = FileUtils.isCanDownload(gameEntity.getApk().get(0).getSize());
String msg = FileUtils.isCanDownload(context, gameEntity.getApk().get(0).getSize());
if (TextUtils.isEmpty(msg)) {
Map<String, Object> kv = new HashMap<>();
kv.put("版本", gameEntity.getApk().get(0).getPlatform());
@ -550,7 +550,7 @@ public class DownloadItemUtils {
TextView downloadBtn,
String entrance,
String location) {
String msg = FileUtils.isCanDownload(gameEntity.getApk().get(0).getSize());
String msg = FileUtils.isCanDownload(context, gameEntity.getApk().get(0).getSize());
if (TextUtils.isEmpty(msg)) {
Map<String, Object> kv = new HashMap<>();
kv.put("版本", gameEntity.getApk().get(0).getPlatform());