From ebf46971503763aa9a8437e3dfbb09a01ba9b2a8 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 2 Mar 2017 23:25:55 +0100 Subject: [PATCH] log app start --- app/src/main/java/info/nightscout/androidaps/MainApp.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.java b/app/src/main/java/info/nightscout/androidaps/MainApp.java index 29bd47d2da..ec478584a2 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.java +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.java @@ -7,6 +7,7 @@ import android.support.annotation.Nullable; import com.crashlytics.android.Crashlytics; import com.crashlytics.android.answers.Answers; +import com.crashlytics.android.answers.CustomEvent; import com.j256.ormlite.android.apptools.OpenHelperManager; import com.squareup.otto.Bus; import com.squareup.otto.ThreadEnforcer; @@ -72,6 +73,8 @@ public class MainApp extends Application { log.info("Version: " + BuildConfig.VERSION_NAME); log.info("BuildVersion: " + BuildConfig.BUILDVERSION); + Answers.getInstance().logCustom(new CustomEvent("AppStart")); + sBus = new Bus(ThreadEnforcer.ANY); sInstance = this; sResources = getResources();