Merge changes Ic3e704c4,I8da1d3f9 into sc-v2-dev am: 7c18413e34 am: a5ac6b2e57
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16493417 Change-Id: I4b15aab75f87817d6e56a9dfc941d22114e506e6
This commit is contained in:
@@ -255,7 +255,7 @@ public class NotificationSnooze extends LinearLayout
|
||||
return new NotificationSnoozeOption(null, minutes, description, resultText, action);
|
||||
}
|
||||
SpannableString string = new SpannableString(resultText);
|
||||
string.setSpan(new StyleSpan(Typeface.BOLD),
|
||||
string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment),
|
||||
index, index + description.length(), 0 /* flags */);
|
||||
return new NotificationSnoozeOption(null, minutes, description, string,
|
||||
action);
|
||||
|
||||
Reference in New Issue
Block a user