diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-08-18 00:47:52 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-08-18 00:47:52 +0200 |
commit | bcbc1624123b4c7be974d9f67cd1bd31114d1d42 (patch) | |
tree | 0608e0b869b193d4ec5a24c6e61133a5694bf2fb /src/de/danoeh/antennapod/storage | |
parent | 026efe29c3c26a5429c09c4bb6421dcde9c8ff78 (diff) | |
download | AntennaPod-bcbc1624123b4c7be974d9f67cd1bd31114d1d42.zip |
Made sure that cancelled/failed downloads are handled correctly
Diffstat (limited to 'src/de/danoeh/antennapod/storage')
-rw-r--r-- | src/de/danoeh/antennapod/storage/DownloadRequester.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/storage/DownloadRequester.java b/src/de/danoeh/antennapod/storage/DownloadRequester.java index de3a13db5..13c8f58d0 100644 --- a/src/de/danoeh/antennapod/storage/DownloadRequester.java +++ b/src/de/danoeh/antennapod/storage/DownloadRequester.java @@ -109,6 +109,7 @@ public class DownloadRequester { Log.d(TAG, "Cancelling download with url " + downloadUrl); Intent cancelIntent = new Intent(DownloadService.ACTION_CANCEL_DOWNLOAD); cancelIntent.putExtra(DownloadService.EXTRA_DOWNLOAD_URL, downloadUrl); + context.sendBroadcast(cancelIntent); } /** Cancels all running downloads */ |