diff options
author | ByteHamster <info@bytehamster.com> | 2022-11-03 23:04:45 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-11-03 23:04:48 +0100 |
commit | 5b8cee0de0a092e78c01f195b7c7ac0bd95483d3 (patch) | |
tree | 63d2db41516be1dd3ff191da372d36654ab5f5cb /model/src | |
parent | cd9845ed4c8867c16f30bbcc059573609971b667 (diff) | |
download | AntennaPod-5b8cee0de0a092e78c01f195b7c7ac0bd95483d3.zip |
Decouple restoring Playable from Preferences and storing position
Breaks dependency cycle
Diffstat (limited to 'model/src')
-rw-r--r-- | model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java | 4 |
1 files changed, 2 insertions, 2 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 7120f76ea..30f37cf60 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 @@ -19,7 +19,7 @@ public interface Playable extends Parcelable, Serializable { /** * Save information about the playable in a preference so that it can be - * restored later via PlayableUtils.createInstanceFromPreferences. + * restored later via PlaybackPreferences.createInstanceFromPreferences. * Implementations must NOT call commit() after they have written the values * to the preferences file. */ @@ -136,7 +136,7 @@ public interface Playable extends Parcelable, Serializable { /** * Returns an integer that must be unique among all Playable classes. The - * return value is later used by PlayableUtils to determine the type of the + * return value is later used by PlaybackPreferences to determine the type of the * Playable object that is restored. */ int getPlayableType(); |