diff --git a/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java b/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java index 759c512671c..b157b97983f 100644 --- a/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java +++ b/app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueueItem.java @@ -9,13 +9,12 @@ import org.schabi.newpipe.extractor.stream.StreamType; import org.schabi.newpipe.util.ExtractorHelper; -import java.io.Serializable; import java.util.List; import io.reactivex.rxjava3.core.Single; import io.reactivex.rxjava3.schedulers.Schedulers; -public class PlayQueueItem implements Serializable { +public class PlayQueueItem { public static final long RECOVERY_UNSET = Long.MIN_VALUE; private static final String EMPTY_STRING = ""; diff --git a/app/src/main/java/org/schabi/newpipe/streams/io/StoredFileHelper.java b/app/src/main/java/org/schabi/newpipe/streams/io/StoredFileHelper.java index 5404426c432..e526bb91e88 100644 --- a/app/src/main/java/org/schabi/newpipe/streams/io/StoredFileHelper.java +++ b/app/src/main/java/org/schabi/newpipe/streams/io/StoredFileHelper.java @@ -21,7 +21,6 @@ import java.io.File; import java.io.IOException; -import java.io.Serializable; import java.net.URI; import java.nio.file.Files; import java.nio.file.Path; @@ -30,11 +29,10 @@ import us.shandian.giga.io.FileStream; import us.shandian.giga.io.FileStreamSAF; -public class StoredFileHelper implements Serializable { +public class StoredFileHelper { private static final boolean DEBUG = MainActivity.DEBUG; private static final String TAG = StoredFileHelper.class.getSimpleName(); - private static final long serialVersionUID = 0L; public static final String DEFAULT_MIME = "application/octet-stream"; private transient DocumentFile docFile;