using the same group alert behaviour for the summary

This commit is contained in:
Adam Brown 2022-07-11 21:08:24 +01:00
parent c7da6c1663
commit 671913fd69
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ class NotificationFactory(
smallIcon = R.drawable.ic_notification_small_icon, smallIcon = R.drawable.ic_notification_small_icon,
contentIntent = openAppIntent, contentIntent = openAppIntent,
groupId = GROUP_ID, groupId = GROUP_ID,
groupAlertBehavior = deviceMeta.whenPOrHigher(
block = { Notification.GROUP_ALERT_SUMMARY },
fallback = { null }
),
isGroupSummary = true, isGroupSummary = true,
) )
} }