Add Red Screen Of Death to display crash dialog.

This commit is contained in:
Alex Ning
2020-11-06 15:06:53 +08:00
parent 0201a661b2
commit 979ff84f46
2 changed files with 4 additions and 0 deletions

View File

@@ -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();