Refresh category title by different time slot condition

Bug: 177406865
Bug: 185187729
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Ib124e1cfb9549f838540ff547bc616049f65180d
This commit is contained in:
ykhung
2021-04-24 14:29:25 +08:00
committed by YUKAI HUNG
parent 219dabcabf
commit 41fd8a7494
7 changed files with 196 additions and 12 deletions

View File

@@ -71,9 +71,10 @@ public class ExpandDividerPreference extends Preference {
}
}
void setTitle(String titleContent) {
void setTitle(final String titleContent) {
if (mTextView != null) {
mTextView.setText(titleContent);
mTextView.postDelayed(
() -> mTextView.setText(titleContent), 50);
}
}