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:
TreeHugger Robot
2021-12-20 22:52:53 +00:00
committed by Automerger Merge Worker

View File

@@ -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);