Make group notifications use the latest sender's ringtone.
This commit is contained in:
parent
11d34512a0
commit
8d43fb850d
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue