diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-08-06 13:03:17 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-08-06 13:03:17 +0200 |
commit | 22640c24b04a498e48167cf9a8628e62ec2dbe27 (patch) | |
tree | 4bc26a3e297605d2ea6461d67cb611038e38d3f8 /src/de/danoeh/antennapod/asynctask | |
parent | 8bde0e0fe28c2e8d08ef03777547ecf2b2a6cff4 (diff) | |
download | AntennaPod-22640c24b04a498e48167cf9a8628e62ec2dbe27.zip |
Fixed bugs in the downloadobserver
Diffstat (limited to 'src/de/danoeh/antennapod/asynctask')
-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()); |