细节修复、部分bug修复

This commit is contained in:
huangzhuanghua
2016-09-20 18:29:19 +08:00
parent 471afcf0be
commit 384af8a9db
34 changed files with 1176 additions and 1480 deletions

View File

@ -645,7 +645,7 @@ public class DownloadItemUtils {
DownloadEntity downloadEntity = entity.getEntryMap().get(entity.getEntryMap().keyAt(0));
final String path = downloadEntity.getPath();
if (FileUtils.isEmptyFile(path)) {
Toast.makeText(context, "解析包错误", Toast.LENGTH_SHORT).show();
Toast.makeText(context, "解析包出错(可能被误删了),请重新下载", Toast.LENGTH_SHORT).show();
DownloadManager.getInstance(context).cancel(
entity.getEntryMap().get(entity.getEntryMap().keyAt(0)).getUrl());
entity.getEntryMap().remove(entity.getEntryMap().keyAt(0));