summaryrefslogtreecommitdiff
path: root/model/src/main
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-01-04 16:39:00 +0100
committerByteHamster <info@bytehamster.com>2022-01-04 16:39:00 +0100
commita445049b66d518f96b70617fac314666c1e3c1ed (patch)
treebf37938e2d283cf3b5462ac69ad24d79b0819b5e /model/src/main
parent814cd0f88ddee858c89f692a4fd6d03627012919 (diff)
downloadAntennaPod-a445049b66d518f96b70617fac314666c1e3c1ed.zip
Fix crash when share dialog tries to serialize FeedMedia
Diffstat (limited to 'model/src/main')
-rw-r--r--model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java b/model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java
index 151be92e6..7120f76ea 100644
--- a/model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java
+++ b/model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java
@@ -7,13 +7,14 @@ import android.os.Parcelable;
import androidx.annotation.Nullable;
import de.danoeh.antennapod.model.feed.Chapter;
+import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* Interface for objects that can be played by the PlaybackService.
*/
-public interface Playable extends Parcelable {
+public interface Playable extends Parcelable, Serializable {
int INVALID_TIME = -1;
/**