From 60677f3c2b6a3248566041c6ec779719e9bf870a Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Wed, 28 Feb 2024 10:56:07 -0500 Subject: Version 7.0.1. --- .../docilealligator/infinityforreddit/activities/ViewVideoActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit') 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); -- cgit v1.2.3