diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-12-02 11:13:11 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-12-02 11:13:11 +0000 |
commit | 88f6d3ae1599333c37c0c1d0bf82fd5563218bbc (patch) | |
tree | 6208b0a5147b00f281150f60672b1425e15bdf7e /app | |
parent | 805017233b144101e6e1f814162508a815a4410a (diff) | |
download | infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.tar infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.tar.gz infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.tar.bz2 infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.tar.lz infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.tar.xz infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.tar.zst infinity-for-reddit-88f6d3ae1599333c37c0c1d0bf82fd5563218bbc.zip |
Version 4.1.1-beta1.
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 6 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java | 3 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/app/build.gradle b/app/build.gradle index 4f141794..e6bff599 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "ml.docilealligator.infinityforreddit" minSdkVersion 21 targetSdkVersion 30 - versionCode 50 - versionName "4.1.0" + versionCode 51 + versionName "4.1.1-beta1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { @@ -97,7 +97,7 @@ dependencies { implementation 'com.github.Piasy:BigImageViewer:1.6.5' implementation 'androidx.biometric:biometric:1.1.0-rc01' implementation 'com.airbnb.android:lottie:3.4.4' - //implementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2' + implementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2' def toroVersion = '3.7.0.2010003' implementation "im.ene.toro3:toro:$toroVersion" diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java index 274d1ad7..a654eab4 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java @@ -11,6 +11,7 @@ import androidx.annotation.Nullable; import com.evernote.android.state.StateSaver; import com.livefront.bridge.Bridge; import com.livefront.bridge.SavedStateHandler; +import com.melegy.redscreenofdeath.RedScreenOfDeath; import org.greenrobot.eventbus.EventBus; @@ -26,7 +27,7 @@ public class Infinity extends Application { public void onCreate() { super.onCreate(); - //RedScreenOfDeath.init(this); + RedScreenOfDeath.init(this); mAppComponent = DaggerAppComponent.builder() .appModule(new AppModule(this)) 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 cb0c8ccb..37577312 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 (by /u/Hostilenemy)"; + public static final String USER_AGENT = "android:ml.docilealligator.infinityforreddit:v4.1.1-beta1 (by /u/Hostilenemy)"; public static final String GRANT_TYPE_KEY = "grant_type"; public static final String GRANT_TYPE_REFRESH_TOKEN = "refresh_token"; |