diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2019-03-30 11:12:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-30 11:12:46 +0100 |
commit | f900046c6680ae63d4a760bde88f92ea11582b53 (patch) | |
tree | d804cec035493921980ab91b8f8b450043f9e9f4 /core/src/main/java | |
parent | 42cbdbd989143ac7ceb09ef3991324a0fd77e864 (diff) | |
parent | 8172d87477dd593745d4776417ef3dd7884d17fb (diff) | |
download | AntennaPod-f900046c6680ae63d4a760bde88f92ea11582b53.zip |
Merge pull request #3068 from bibz/develop
Do not reset item "played" flag on media download
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/feed/FeedMedia.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/feed/FeedMedia.java b/core/src/main/java/de/danoeh/antennapod/core/feed/FeedMedia.java index 39994ec16..84346e2d4 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/feed/FeedMedia.java +++ b/core/src/main/java/de/danoeh/antennapod/core/feed/FeedMedia.java @@ -594,7 +594,7 @@ public class FeedMedia extends FeedFile implements Playable { @Override public void setDownloaded(boolean downloaded) { super.setDownloaded(downloaded); - if(item != null && downloaded) { + if(item != null && downloaded && !item.isPlayed()) { item.setPlayed(false); } } |