aboutsummaryrefslogtreecommitdiff
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
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 '')
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index cdd60a43..7aa03879 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -8,8 +8,8 @@ android {
applicationId "ml.docilealligator.infinityforreddit"
minSdk 21
targetSdk 33
- versionCode 160
- versionName "7.0.0"
+ versionCode 161
+ versionName "7.0.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
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);