diff --git a/app/src/main/java/com/goldze/mvvmhabit/app/AppApplication.java b/app/src/main/java/com/goldze/mvvmhabit/app/AppApplication.java index 7fa06567..fcc42f76 100644 --- a/app/src/main/java/com/goldze/mvvmhabit/app/AppApplication.java +++ b/app/src/main/java/com/goldze/mvvmhabit/app/AppApplication.java @@ -27,7 +27,7 @@ public void onCreate() { } } - private void initCrash() { + private void trackCrash() { CaocConfig.Builder.create() .backgroundMode(CaocConfig.BACKGROUND_MODE_SILENT) //背景模式,开启沉浸式 .enabled(true) //是否启动全局异常捕获