Do not group sticky notification with others, #219
This commit is contained in:
parent
3b6ec39530
commit
a04c1790ec
2 changed files with 4 additions and 1 deletions
|
@ -299,6 +299,7 @@ class SubscriberService : Service() {
|
|||
.setContentIntent(pendingIntent)
|
||||
.setSound(null)
|
||||
.setShowWhen(false) // Don't show date/time
|
||||
.setGroup(NOTIFICATION_GROUP_ID) // Do not group with other notifications
|
||||
.build()
|
||||
}
|
||||
|
||||
|
@ -353,6 +354,7 @@ class SubscriberService : Service() {
|
|||
|
||||
private const val WAKE_LOCK_TAG = "SubscriberService:lock"
|
||||
private const val NOTIFICATION_CHANNEL_ID = "ntfy-subscriber"
|
||||
private const val NOTIFICATION_GROUP_ID = "io.heckel.ntfy.NOTIFICATION_GROUP_SERVICE"
|
||||
private const val NOTIFICATION_SERVICE_ID = 2586
|
||||
private const val NOTIFICATION_RECEIVED_WAKELOCK_TIMEOUT_MILLIS = 10*60*1000L /*10 minutes*/
|
||||
private const val SHARED_PREFS_ID = "SubscriberService"
|
||||
|
|
|
@ -10,10 +10,11 @@ Bugs:
|
|||
* "[x] Instant delivery in doze mode" checkbox does not work properly (#211)
|
||||
* Disallow "http" GET/HEAD actions with body (#221, thanks to @cmeis for reporting)
|
||||
* Action "view" with "clear=true" does not work on some phones (#220, thanks to @cmeis for reporting)
|
||||
* Do not group foreground service notification with others (#219, thanks to @s-h-a-r-d for reporting)
|
||||
|
||||
Additional translations:
|
||||
* Japanese (thanks to @shak)
|
||||
* Russian (thanks to @flamey and @ilya.mikheev.coder)
|
||||
|
||||
Thanks for testing:
|
||||
* Thanks to @RasHas (aka @Shard), @cmeis, @poblabs, and everyone I forgot for testing.
|
||||
* Thanks to @s-h-a-r-d (aka @Shard), @cmeis, @poblabs, and everyone I forgot for testing.
|
||||
|
|
Loading…
Reference in a new issue