aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-11-24 11:06:03 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-11-24 11:06:03 +0000
commitd6088c032a2decaea88abe1be87d4dfeeeddd171 (patch)
tree11d9e1362d48099095720870da2f1d36c30ee349
parentb66d5fa1686c758f5faec9ee93c8c13ab0fbdde4 (diff)
downloadinfinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.tar
infinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.tar.gz
infinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.tar.bz2
infinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.tar.lz
infinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.tar.xz
infinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.tar.zst
infinity-for-reddit-d6088c032a2decaea88abe1be87d4dfeeeddd171.zip
Downgrade exoplayer to prevent crash when autoplaying videos.
-rw-r--r--app/build.gradle12
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java2
2 files changed, 7 insertions, 7 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 05b9a652..09085e84 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -6,8 +6,8 @@ android {
applicationId "ml.docilealligator.infinityforreddit"
minSdkVersion 21
targetSdkVersion 30
- versionCode 49
- versionName "4.1.0-beta6"
+ versionCode 50
+ versionName "4.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
@@ -54,10 +54,10 @@ dependencies {
implementation 'androidx.work:work-runtime:2.4.0'
implementation 'com.google.android.material:material:1.3.0-alpha03'
- implementation 'com.google.android.exoplayer:exoplayer-core:2.11.7'
- implementation 'com.google.android.exoplayer:exoplayer-hls:2.11.7'
- implementation 'com.google.android.exoplayer:exoplayer-dash:2.11.7'
- implementation 'com.google.android.exoplayer:exoplayer-ui:2.11.7'
+ implementation 'com.google.android.exoplayer:exoplayer-core:2.10.4'
+ implementation 'com.google.android.exoplayer:exoplayer-hls:2.10.4'
+ implementation 'com.google.android.exoplayer:exoplayer-dash:2.10.4'
+ implementation 'com.google.android.exoplayer:exoplayer-ui:2.10.4'
implementation 'com.alexvasilkov:gesture-views:2.6.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java
index 04929bc5..cb0c8ccb 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java
@@ -41,7 +41,7 @@ public class APIUtils {
public static final String AUTHORIZATION_KEY = "Authorization";
public static final String AUTHORIZATION_BASE = "bearer ";
public static final String USER_AGENT_KEY = "User-Agent";
- public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v4.1.0-beta6 (by /u/Hostilenemy)";
+ public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v4.1.0 (by /u/Hostilenemy)";
public static final String GRANT_TYPE_KEY = "grant_type";
public static final String GRANT_TYPE_REFRESH_TOKEN = "refresh_token";