From 81f2e72f0d549ce7df69da20cda023c11c51dd9a Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 31 Jul 2023 10:29:22 -0400 Subject: [PATCH] Allows notification grouping by app --- .../amethyst/service/notifications/NotificationUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationUtils.kt b/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationUtils.kt index cbe51ce1e..7c7051b5c 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationUtils.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationUtils.kt @@ -170,7 +170,7 @@ object NotificationUtils { .setContentTitle(messageTitle) .setContentText(applicationContext.getString(R.string.app_notification_private_message)) .setLargeIcon(picture?.bitmap) - .setGroup(messageTitle) + // .setGroup(messageTitle) // .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this .setContentIntent(contentPendingIntent) .setPriority(NotificationCompat.PRIORITY_HIGH) @@ -185,7 +185,7 @@ object NotificationUtils { .setContentTitle(messageTitle) .setContentText(messageBody) .setLargeIcon(picture?.bitmap) - .setGroup(messageTitle) + // .setGroup(messageTitle) // .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this .setContentIntent(contentPendingIntent) .setPublicVersion(builderPublic.build())