From: Damyan Ivanov Date: Fri, 23 Apr 2021 20:33:05 +0000 (+0300) Subject: debug refinements X-Git-Tag: v0.18.0~32 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=96c0c980b90119e043ee1d754cfcaa6115912321;p=mobile-ledger.git debug refinements --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/MainModel.java b/app/src/main/java/net/ktnx/mobileledger/ui/MainModel.java index 9aafedd5..2355d2a8 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/MainModel.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/MainModel.java @@ -127,7 +127,6 @@ public class MainModel extends ViewModel { @Override public void run() { List newDisplayed = new ArrayList<>(); - Logger.debug("dFilter", "waiting for synchronized block"); Logger.debug("dFilter", String.format(Locale.US, "entered synchronized block (about to examine %d transactions)", list.size())); String accNameFilter = model.getAccountFilter() diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java index 43776add..a1beb94b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java @@ -118,6 +118,7 @@ public class ProfileThemedActivity extends CrashReportingActivity { profile = dao.getAnySync(); } + Logger.debug(TAG, String.format(Locale.ROOT, "Profile %d loaded. posting", profileId)); Data.postCurrentProfile(profile); } }