debug messages on app start/termination
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 10:20:03 +0000 (13:20 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 10:20:03 +0000 (13:20 +0300)
app/src/main/java/net/ktnx/mobileledger/App.java

index 051a17c..bd9b303 100644 (file)
@@ -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();
     }