Check download listener
This commit is contained in:
parent
7c8e75587b
commit
0e89b270cc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user