Prevent duplicate notification sounds from message group notification

This commit is contained in:
schwma
2018-11-08 15:56:48 +01:00
committed by Jannis Mattheis
parent 0c2620b798
commit 3c8b500906

View File

@@ -215,6 +215,7 @@ public class WebSocketService extends Service {
.setSmallIcon(R.drawable.ic_gotify)
.setTicker(getString(R.string.app_name))
.setGroup(NotificationSupport.Group.MESSAGES)
.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_CHILDREN)
.setContentTitle(getString(R.string.grouped_notification_text))
.setGroupSummary(true)
.setContentText(getString(R.string.grouped_notification_text))