|
|
@@ -411,7 +411,7 @@ public class ActDownloadMgr extends BaseCompatActivity {
|
|
|
pbProgress.setProgress(task.getPercent());
|
|
|
targetBtn.setText(R.string.downloading);
|
|
|
|
|
|
- setTaskStatusByDownloadUrl(url, DownloadTaskService.STATUS_ING, "");
|
|
|
+ setTaskStatusByDownloadUrl(url, DownloadTaskService.STATUS_ING, task.getDownloadPath());
|
|
|
}
|
|
|
|
|
|
@Download.onTaskStop void taskStop(DownloadTask task) {
|
|
|
@@ -444,7 +444,7 @@ public class ActDownloadMgr extends BaseCompatActivity {
|
|
|
String url = task.getKey();
|
|
|
KFProgressButton targetBtn = (KFProgressButton) lvDownloadMgr.findViewWithTag(DownloadMgrAdapter.PUBLIC_TAG_PREFIX_BUTTON + url);
|
|
|
targetBtn.setText(R.string.download_fail);
|
|
|
- setTaskStatusByDownloadUrl(url, DownloadTaskService.STATUS_FAIL, "");
|
|
|
+ setTaskStatusByDownloadUrl(url, DownloadTaskService.STATUS_FAIL, task.getDownloadPath());
|
|
|
}
|
|
|
|
|
|
@Download.onTaskComplete void taskComplete(DownloadTask task) {
|