From: Damyan Ivanov Date: Mon, 6 Sep 2021 06:26:13 +0000 (+0000) Subject: debug setupProfileColors() calls X-Git-Tag: v0.20.1~4 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;ds=sidebyside;h=3f3f3d176f344f297e1db730d9121ff3c484053a;hp=2a7d94ca3152400055949215c559a7229e202efe;p=mobile-ledger.git debug setupProfileColors() calls --- 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 05c53467..dcc83460 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 @@ -83,6 +83,9 @@ public class ProfileThemedActivity extends CrashReportingActivity { if (hue != mThemeHue) { storeProfilePref(profile); + Logger.debug(TAG, + String.format(Locale.US, "profile observer calling setupProfileColors(%d)", + hue)); setupProfileColors(hue); } }); @@ -98,6 +101,8 @@ public class ProfileThemedActivity extends CrashReportingActivity { if (profileId == -1) mThemeHue = Colors.DEFAULT_HUE_DEG; + Logger.debug(TAG, + String.format(Locale.US, "initProfile() calling setupProfileColors(%d)", hue)); setupProfileColors(hue); initProfile(profileId);