aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-02-28 15:56:07 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-02-28 15:56:07 +0000
commit60677f3c2b6a3248566041c6ec779719e9bf870a (patch)
tree6750d7d99034d53f4f601dbe0aa4f2cf68eac447 /app/src/main/java/ml
parentbf8bbcb0cd3149aa42e78e06452cf8d37a10d085 (diff)
downloadinfinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.tar
infinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.tar.gz
infinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.tar.bz2
infinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.tar.lz
infinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.tar.xz
infinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.tar.zst
infinity-for-reddit-60677f3c2b6a3248566041c6ec779719e9bf870a.zip
Version 7.0.1.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java
index d827bcc8..eadeba53 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java
@@ -853,7 +853,7 @@ public class ViewVideoActivity extends AppCompatActivity implements CustomFontRe
private void loadFallbackVideo(Bundle savedInstanceState) {
if (videoFallbackDirectUrl != null) {
MediaItem mediaItem = player.getCurrentMediaItem();
- if (mediaItem == null || mediaItem.localConfiguration != null && !videoFallbackDirectUrl.equals(mediaItem.localConfiguration.uri.toString())) {
+ if (mediaItem == null || (mediaItem.localConfiguration != null && !videoFallbackDirectUrl.equals(mediaItem.localConfiguration.uri.toString()))) {
videoType = VIDEO_TYPE_DIRECT;
videoDownloadUrl = videoFallbackDirectUrl;
mVideoUri = Uri.parse(videoFallbackDirectUrl);