Merge pull request #3068 from bibz/develop
Do not reset item "played" flag on media download
This commit is contained in:
commit
f900046c66
|
@ -594,7 +594,7 @@ public class FeedMedia extends FeedFile implements Playable {
|
||||||
@Override
|
@Override
|
||||||
public void setDownloaded(boolean downloaded) {
|
public void setDownloaded(boolean downloaded) {
|
||||||
super.setDownloaded(downloaded);
|
super.setDownloaded(downloaded);
|
||||||
if(item != null && downloaded) {
|
if(item != null && downloaded && !item.isPlayed()) {
|
||||||
item.setPlayed(false);
|
item.setPlayed(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue