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