1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Check download listener

This commit is contained in:
sunnylqm 2021-03-26 18:12:25 +08:00
parent 7c8e75587b
commit 0e89b270cc

View File

@ -529,8 +529,11 @@ class DownloadTask extends AsyncTask<DownloadTaskParams, long[], Void> {
break;
}
Log.e("pushy", "download task failed", e);
if (params[0].listener != null) {
params[0].listener.onDownloadFailed(e);
}
}
return null;
}