summaryrefslogtreecommitdiff
path: root/model/src
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-03-24 12:25:32 +0100
committerGitHub <noreply@github.com>2024-03-24 12:25:32 +0100
commit5218e06904e489f77da4078de775dd0a63b94ef4 (patch)
tree5184c4228bb66027b317d5b0fcc73e08f44d7117 /model/src
parent79856b7931eebc7093013861de78ac68228ea7e6 (diff)
downloadAntennaPod-5218e06904e489f77da4078de775dd0a63b94ef4.zip
Faster feed deletion (#7019)
Diffstat (limited to 'model/src')
-rw-r--r--model/src/main/java/de/danoeh/antennapod/model/feed/FeedMedia.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/model/src/main/java/de/danoeh/antennapod/model/feed/FeedMedia.java b/model/src/main/java/de/danoeh/antennapod/model/feed/FeedMedia.java
index 7cd2d4953..571cbc128 100644
--- a/model/src/main/java/de/danoeh/antennapod/model/feed/FeedMedia.java
+++ b/model/src/main/java/de/danoeh/antennapod/model/feed/FeedMedia.java
@@ -414,6 +414,10 @@ public class FeedMedia implements Playable {
return itemID;
}
+ public void setItemId(long id) {
+ itemID = id;
+ }
+
@Override
public void onPlaybackStart() {
startPosition = Math.max(position, 0);