细节修复、部分bug修复
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user