From: Damyan Ivanov Date: Sun, 5 May 2019 10:20:03 +0000 (+0300) Subject: debug messages on app start/termination X-Git-Tag: v0.10.0~24 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2f00dcf94bcfa56717cf8422f0ceae657389ca46;p=mobile-ledger.git debug messages on app start/termination --- 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(); }