mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-16 19:18:52 +01:00
Prevent notifications from alerting on update
This was killing the notification sound on older Android versions.
This commit is contained in:
@@ -164,6 +164,7 @@ class NotificationManagerImpl @Inject constructor(
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setNumber(messages.size)
|
||||
.setAutoCancel(true)
|
||||
.setOnlyAlertOnce(true)
|
||||
.setContentIntent(contentPI)
|
||||
.setDeleteIntent(seenPI)
|
||||
.setLights(Color.WHITE, 500, 2000)
|
||||
|
||||
Reference in New Issue
Block a user