Reverts to use the messageTitle as Group
This commit is contained in:
+4
-2
@@ -170,7 +170,8 @@ object NotificationUtils {
|
|||||||
.setContentTitle(messageTitle)
|
.setContentTitle(messageTitle)
|
||||||
.setContentText(applicationContext.getString(R.string.app_notification_private_message))
|
.setContentText(applicationContext.getString(R.string.app_notification_private_message))
|
||||||
.setLargeIcon(picture?.bitmap)
|
.setLargeIcon(picture?.bitmap)
|
||||||
.setGroup(notificationGroupKey)
|
.setGroup(messageTitle)
|
||||||
|
// .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this
|
||||||
.setContentIntent(contentPendingIntent)
|
.setContentIntent(contentPendingIntent)
|
||||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
@@ -184,7 +185,8 @@ object NotificationUtils {
|
|||||||
.setContentTitle(messageTitle)
|
.setContentTitle(messageTitle)
|
||||||
.setContentText(messageBody)
|
.setContentText(messageBody)
|
||||||
.setLargeIcon(picture?.bitmap)
|
.setLargeIcon(picture?.bitmap)
|
||||||
.setGroup(notificationGroupKey)
|
.setGroup(messageTitle)
|
||||||
|
// .setGroup(notificationGroupKey) //-> Might need a Group summary as well before we activate this
|
||||||
.setContentIntent(contentPendingIntent)
|
.setContentIntent(contentPendingIntent)
|
||||||
.setPublicVersion(builderPublic.build())
|
.setPublicVersion(builderPublic.build())
|
||||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||||
|
|||||||
Reference in New Issue
Block a user