From 354a215209d3181ec6d233164f457a1266f05afb Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 10 Sep 2019 16:41:54 +0800 Subject: Load HLS video instead of Dash video to support older Android versions. Fixed app crashes on opening video or images on older Android versions. --- .../CommentAndPostRecyclerViewAdapter.java | 4 ++-- .../infinityforreddit/JSONUtils.java | 2 +- .../infinityforreddit/ParsePost.java | 6 +++--- .../ml/docilealligator/infinityforreddit/Post.java | 14 +++++++------- .../infinityforreddit/PostRecyclerViewAdapter.java | 4 ++-- .../infinityforreddit/ViewImageActivity.java | 4 ++-- .../infinityforreddit/ViewVideoActivity.java | 21 ++++++++++----------- 7 files changed, 27 insertions(+), 28 deletions(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java index c20177b9..c4595c5e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java @@ -429,7 +429,7 @@ class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter