|
|
@ -192,7 +192,6 @@ class DownloadUtil implements IDownloadUtil, Runnable { |
|
|
|
private void failDownload(String msg) { |
|
|
|
private void failDownload(String msg) { |
|
|
|
Log.e(TAG, msg); |
|
|
|
Log.e(TAG, msg); |
|
|
|
CONSTANCE.isDownloading = false; |
|
|
|
CONSTANCE.isDownloading = false; |
|
|
|
stopDownload(); |
|
|
|
|
|
|
|
mListener.onFail(); |
|
|
|
mListener.onFail(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -210,7 +209,7 @@ class DownloadUtil implements IDownloadUtil, Runnable { |
|
|
|
+ mDownloadEntity.getDownloadUrl() |
|
|
|
+ mDownloadEntity.getDownloadUrl() |
|
|
|
+ "】\n【filePath:" |
|
|
|
+ "】\n【filePath:" |
|
|
|
+ mDownloadFile.getPath() |
|
|
|
+ mDownloadFile.getPath() |
|
|
|
+ "】" |
|
|
|
+ "】\n" |
|
|
|
+ CommonUtil.getPrintException(e)); |
|
|
|
+ CommonUtil.getPrintException(e)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|