Remove extra space below notification text.

Special thanks to @dwong

Fixes #7905
This commit is contained in:
Greyson Parrelli 2018-08-13 17:35:14 -04:00
parent 2acbea014b
commit d79564021f

View File

@ -258,10 +258,12 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
private CharSequence getBigText(List<CharSequence> messageBodies) {
SpannableStringBuilder content = new SpannableStringBuilder();
for (CharSequence message : messageBodies) {
content.append(message);
for (int i = 0; i < messageBodies.size(); i++) {
content.append(messageBodies.get(i));
if (i < messageBodies.size() - 1) {
content.append('\n');
}
}
return content;
}