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