]> git.ktnx.net Git - mobile-ledger.git/commitdiff
more information in the main activity start debug
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 18:57:48 +0000 (21:57 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 18:57:48 +0000 (21:57 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 12957e97e9e7c8e02c14e37ba674f40456433a8f..d7447f070c86262fa885eaba61ae40e105ad995a 100644 (file)
@@ -108,7 +108,9 @@ public class MainActivity extends ProfileThemedActivity {
     protected void onStart() {
         super.onStart();
 
-        debug("flow", "MainActivity.onStart()");
+        debug("flow", String.format(Locale.ENGLISH,
+                "MainActivity.onStart(), currentPage is %d, accountFilter is %s", mCurrentPage,
+                (mAccountFilter == null) ? "<NULL>" : mAccountFilter));
         mViewPager.setCurrentItem(mCurrentPage, false);
         if (mAccountFilter != null) showTransactionsFragment(mAccountFilter);
         else Data.accountFilter.setValue(null);