From 979ff84f46024d11f78fb1ed1cbeacf873bc29b8 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 6 Nov 2020 15:06:53 +0800 Subject: Add Red Screen Of Death to display crash dialog. --- app/src/main/java/ml/docilealligator/infinityforreddit/Infinity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/src') 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(); -- cgit v1.2.3