if (hue != mThemeHue) {
storeProfilePref(profile);
+ Logger.debug(TAG,
+ String.format(Locale.US, "profile observer calling setupProfileColors(%d)",
+ hue));
setupProfileColors(hue);
}
});
if (profileId == -1)
mThemeHue = Colors.DEFAULT_HUE_DEG;
+ Logger.debug(TAG,
+ String.format(Locale.US, "initProfile() calling setupProfileColors(%d)", hue));
setupProfileColors(hue);
initProfile(profileId);
protected void initProfile(long profileId) {
BaseDAO.runAsync(() -> initProfileSync(profileId));
}
- private void initProfileAsync(long profileId) {
+ private void initProfileSync(long profileId) {
ProfileDAO dao = DB.get()
.getProfileDAO();
Profile profile = dao.getByIdSync(profileId);