From 31d7592964e52c7220e28f0ed6dc2286c56de1c6 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 13 Oct 2021 21:00:24 +0800 Subject: Legacy autoplay video controller UI. --- .../adapters/PostDetailRecyclerViewAdapter.java | 7 +++---- .../infinityforreddit/adapters/PostRecyclerViewAdapter.java | 9 +++++++-- .../infinityforreddit/utils/SharedPreferencesUtils.java | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java index 4c3ee7e3..93386ec5 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java @@ -44,9 +44,7 @@ import com.bumptech.glide.load.engine.GlideException; import com.bumptech.glide.request.RequestListener; import com.bumptech.glide.request.RequestOptions; import com.bumptech.glide.request.target.Target; -import com.google.android.exoplayer2.metadata.Metadata; import com.google.android.exoplayer2.source.TrackGroupArray; -import com.google.android.exoplayer2.text.Cue; import com.google.android.exoplayer2.trackselection.TrackSelectionArray; import com.google.android.exoplayer2.ui.AspectRatioFrameLayout; import com.google.android.exoplayer2.ui.PlayerView; @@ -55,7 +53,6 @@ import com.libRG.CustomTextView; import org.commonmark.ext.gfm.tables.TableBlock; import java.util.ArrayList; -import java.util.List; import java.util.Locale; import java.util.concurrent.Executor; import java.util.regex.Matcher; @@ -167,6 +164,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter