From 5b8cee0de0a092e78c01f195b7c7ac0bd95483d3 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Thu, 3 Nov 2022 23:04:45 +0100 Subject: Decouple restoring Playable from Preferences and storing position Breaks dependency cycle --- model/src/main/java/de/danoeh/antennapod/model/playback/Playable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model/src/main') 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(); -- cgit v1.2.3