diff options
author | ByteHamster <info@bytehamster.com> | 2022-01-04 16:39:00 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-01-04 16:39:00 +0100 |
commit | a445049b66d518f96b70617fac314666c1e3c1ed (patch) | |
tree | bf37938e2d283cf3b5462ac69ad24d79b0819b5e /model | |
parent | 814cd0f88ddee858c89f692a4fd6d03627012919 (diff) | |
download | antennapod-a445049b66d518f96b70617fac314666c1e3c1ed.zip |
Fix crash when share dialog tries to serialize FeedMedia
Diffstat (limited to 'model')
-rw-r--r-- | model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java | 3 |
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; /** |