aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-11-06 07:06:53 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-11-06 07:06:53 +0000
commit979ff84f46024d11f78fb1ed1cbeacf873bc29b8 (patch)
tree4458c2c2d8f0585bcaa1ad38e548e1165b653694 /app/src
parent0201a661b2459ff4d93ba6a707f14ab39e2806e0 (diff)
downloadinfinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.tar
infinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.tar.gz
infinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.tar.bz2
infinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.tar.lz
infinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.tar.xz
infinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.tar.zst
infinity-for-reddit-979ff84f46024d11f78fb1ed1cbeacf873bc29b8.zip
Add Red Screen Of Death to display crash dialog.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java3
1 files changed, 3 insertions, 0 deletions
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();