From 2f00dcf94bcfa56717cf8422f0ceae657389ca46 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 5 May 2019 13:20:03 +0300 Subject: [PATCH] debug messages on app start/termination --- app/src/main/java/net/ktnx/mobileledger/App.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/net/ktnx/mobileledger/App.java b/app/src/main/java/net/ktnx/mobileledger/App.java index 051a17c3..bd9b303a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/App.java +++ b/app/src/main/java/net/ktnx/mobileledger/App.java @@ -26,6 +26,7 @@ import android.preference.PreferenceManager; import net.ktnx.mobileledger.model.Data; import net.ktnx.mobileledger.utils.Globals; +import net.ktnx.mobileledger.utils.Logger; import net.ktnx.mobileledger.utils.MobileLedgerDatabase; import static net.ktnx.mobileledger.ui.activity.SettingsActivity.PREF_KEY_SHOW_ONLY_STARRED_ACCOUNTS; @@ -35,6 +36,7 @@ public class App extends Application { private MobileLedgerDatabase dbHelper; @Override public void onCreate() { + Logger.debug("flow", "App onCreate()"); instance = this; super.onCreate(); updateMonthNames(); @@ -51,6 +53,7 @@ public class App extends Application { } @Override public void onTerminate() { + Logger.debug("flow", "App onTerminate()"); if (dbHelper != null) dbHelper.close(); super.onTerminate(); } -- 2.39.5