diff options
Diffstat (limited to 'src/de/danoeh/antennapod/asynctask/DownloadObserver.java')
-rw-r--r-- | src/de/danoeh/antennapod/asynctask/DownloadObserver.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/asynctask/DownloadObserver.java b/src/de/danoeh/antennapod/asynctask/DownloadObserver.java index 08353add7..5125e6b91 100644 --- a/src/de/danoeh/antennapod/asynctask/DownloadObserver.java +++ b/src/de/danoeh/antennapod/asynctask/DownloadObserver.java @@ -137,6 +137,7 @@ public class DownloadObserver extends AsyncTask<Void, Void, Void> { status.done = true; status.reason = getDownloadStatus(cursor, DownloadManager.COLUMN_REASON); + break; case DownloadManager.STATUS_PENDING: status.statusMsg = R.string.download_pending; break; @@ -144,6 +145,7 @@ public class DownloadObserver extends AsyncTask<Void, Void, Void> { status.done = true; status.successful = false; status.statusMsg = R.string.download_cancelled_msg; + requester.notifyDownloadService(context); } } } while (cursor.moveToNext()); |