From 87ab6432c65dfdf2dc0c7fe82e90a54fb6ddda80 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Thu, 7 Dec 2017 18:19:27 +0100 Subject: [PATCH] Revert "Custom: Disable Crashlytics." This reverts commit 015a852ab5c31ba2f80983d5ddfe75dc27407b35. --- app/src/main/java/info/nightscout/androidaps/MainApp.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.java b/app/src/main/java/info/nightscout/androidaps/MainApp.java index e00edcdc72..89c91fbc7d 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.java +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.java @@ -11,7 +11,6 @@ import android.support.v4.content.LocalBroadcastManager; import com.crashlytics.android.Crashlytics; import com.crashlytics.android.answers.Answers; import com.crashlytics.android.answers.CustomEvent; -import com.crashlytics.android.core.CrashlyticsCore; import com.j256.ormlite.android.apptools.OpenHelperManager; import com.squareup.otto.Bus; import com.squareup.otto.LoggingBus; @@ -102,8 +101,7 @@ public class MainApp extends Application { @Override public void onCreate() { super.onCreate(); - Crashlytics crashlytics = new Crashlytics.Builder().disabled(true).build(); - Fabric.with(this, crashlytics); + Fabric.with(this, new Crashlytics()); Fabric.with(this, new Answers()); Crashlytics.setString("BUILDVERSION", BuildConfig.BUILDVERSION); log.info("Version: " + BuildConfig.VERSION_NAME);