diff options
-rw-r--r-- | app/build.gradle | 1 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 966cd0cc..08e86c6f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -97,6 +97,7 @@ dependencies { implementation 'com.github.Piasy:BigImageViewer:1.6.5' implementation 'androidx.biometric:biometric:1.1.0-beta01' implementation 'com.airbnb.android:lottie:3.4.4' + 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 4ee21747..a93327bc 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; @@ -27,6 +28,8 @@ public class Infinity extends Application { public void onCreate() { super.onCreate(); + RedScreenOfDeath.init(this); + mAppComponent = DaggerAppComponent.builder() .appModule(new AppModule(this)) .build(); |