From 3f3f3d176f344f297e1db730d9121ff3c484053a Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Mon, 6 Sep 2021 06:26:13 +0000 Subject: [PATCH] debug setupProfileColors() calls --- .../ktnx/mobileledger/ui/activity/ProfileThemedActivity.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.39.2