Prevent duplicate notification sounds from message group notification
This commit is contained in:
@@ -215,6 +215,7 @@ public class WebSocketService extends Service {
|
|||||||
.setSmallIcon(R.drawable.ic_gotify)
|
.setSmallIcon(R.drawable.ic_gotify)
|
||||||
.setTicker(getString(R.string.app_name))
|
.setTicker(getString(R.string.app_name))
|
||||||
.setGroup(NotificationSupport.Group.MESSAGES)
|
.setGroup(NotificationSupport.Group.MESSAGES)
|
||||||
|
.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_CHILDREN)
|
||||||
.setContentTitle(getString(R.string.grouped_notification_text))
|
.setContentTitle(getString(R.string.grouped_notification_text))
|
||||||
.setGroupSummary(true)
|
.setGroupSummary(true)
|
||||||
.setContentText(getString(R.string.grouped_notification_text))
|
.setContentText(getString(R.string.grouped_notification_text))
|
||||||
|
|||||||
Reference in New Issue
Block a user