Make group notifications use the latest sender's ringtone.

This commit is contained in:
Greyson Parrelli 2018-09-04 16:57:55 -07:00
parent 11d34512a0
commit 8d43fb850d

View file

@ -49,6 +49,10 @@ public class MultipleRecipientNotificationBuilder extends AbstractNotificationBu
setContentText(context.getString(R.string.MessageNotifier_most_recent_from_s, setContentText(context.getString(R.string.MessageNotifier_most_recent_from_s,
recipient.toShortString())); recipient.toShortString()));
} }
if (recipient.getNotificationChannel() != null) {
setChannelId(recipient.getNotificationChannel());
}
} }
public void addActions(PendingIntent markAsReadIntent) { public void addActions(PendingIntent markAsReadIntent) {