去除volley 中TAG的滥用导致无法重复加载同一url,项目整理

This commit is contained in:
huangzhuanghua
2016-11-29 10:49:45 +08:00
parent 47f978a4fa
commit a31d2cd28b
80 changed files with 461 additions and 610 deletions

View File

@ -123,6 +123,9 @@ public class DownloadTask implements DownloadListener {
|| status == DownloadStatus.notfound) {
entry.setProgress(0);
entry.setPercent(0);
if (status == DownloadStatus.hijack) {
entry.setError(error);
}
FileUtils.deleteFile(entry.getPath());
DownloadDao.getInstance(context).delete(entry.getUrl());
Utils.log(DownloadTask.class.getSimpleName(),