From db1ad39c6bc6402186ae387164e549009c453f5b Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Fri, 8 Feb 2019 09:31:05 -0800 Subject: [PATCH] Fix issues with bundled notifications. --- .../securesms/notifications/MessageNotifier.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java index aef045bef3..e786e099eb 100644 --- a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java +++ b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java @@ -308,7 +308,6 @@ public class MessageNotifier { builder.setPrimaryMessageBody(recipient, notifications.get(0).getIndividualRecipient(), notifications.get(0).getText(), notifications.get(0).getSlideDeck()); builder.setContentIntent(notifications.get(0).getPendingIntent(context)); - builder.setGroup(NOTIFICATION_GROUP); builder.setDeleteIntent(notificationState.getDeleteIntent(context)); builder.setOnlyAlertOnce(!signal); builder.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_SUMMARY); @@ -336,8 +335,9 @@ public class MessageNotifier { notifications.get(0).getText()); } - if (!bundled) { - builder.setGroupSummary(true); + if (bundled) { + builder.setGroup(NOTIFICATION_GROUP); + builder.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_SUMMARY); } Notification notification = builder.build();