diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-14 15:05:24 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-14 15:05:24 +0200 |
commit | ea5768f50c5e03b9f88ac34db8824d50d9debda0 (patch) | |
tree | 8797d2084b2b51c05fd1688874fbc3ca87d69218 | |
parent | ea6085723b0400031c608476f3a4814975133518 (diff) | |
download | AntennaPod-ea5768f50c5e03b9f88ac34db8824d50d9debda0.zip |
Made sure that DownloadService shuts down when appropriate
-rw-r--r-- | src/de/podfetcher/service/DownloadService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/podfetcher/service/DownloadService.java b/src/de/podfetcher/service/DownloadService.java index c9620be90..90ddd73cd 100644 --- a/src/de/podfetcher/service/DownloadService.java +++ b/src/de/podfetcher/service/DownloadService.java @@ -195,6 +195,7 @@ public class DownloadService extends Service { // Save information of feed in DB manager.updateFeed(service, feed); + queryDownloads(); } /** Delete files that aren't needed anymore */ @@ -223,6 +224,7 @@ public class DownloadService extends Service { image.setDownloaded(true); requester.removeFeedImage(image); manager.setFeedImage(service, image); + queryDownloads(); } } @@ -252,6 +254,7 @@ public class DownloadService extends Service { Log.d(TAG, "Duration of file is " + media.getDuration()); mediaplayer.reset(); manager.setFeedMedia(service, media); + queryDownloads(); } } } |