summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/feed
diff options
context:
space:
mode:
authorMichael Kaiser <patheticpat@googlemail.com>2012-10-28 11:39:00 +0100
committerMichael Kaiser <patheticpat@googlemail.com>2012-10-28 11:39:00 +0100
commita8664101a04580be63e22f75867af1c565d0fdf7 (patch)
tree1a78a0dc5096873860e4012ce2e9b5bdca72ae99 /src/de/danoeh/antennapod/feed
parent27492575c2669413a4cd0aad250fc831bfd9cdb7 (diff)
downloadAntennaPod-a8664101a04580be63e22f75867af1c565d0fdf7.zip
Save media when marking all items as "read"
The unreadItems list contains items that are "in progress", so we need to save the media.
Diffstat (limited to 'src/de/danoeh/antennapod/feed')
-rw-r--r--src/de/danoeh/antennapod/feed/FeedManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/feed/FeedManager.java b/src/de/danoeh/antennapod/feed/FeedManager.java
index 922d8bd68..cdde4d0a5 100644
--- a/src/de/danoeh/antennapod/feed/FeedManager.java
+++ b/src/de/danoeh/antennapod/feed/FeedManager.java
@@ -435,6 +435,8 @@ public class FeedManager {
adapter.open();
for (FeedItem item : unreadItemsCopy) {
setFeedItem(item, adapter);
+ if (item.hasMedia())
+ setFeedMedia(context, item.getMedia());
}
adapter.close();
}