mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-27 09:01:20 +01:00
set an Event category to notifications, maybe they will become more reliable
This commit is contained in:
parent
008508041d
commit
eb02b5dd99
@ -243,6 +243,7 @@ fun Context.getNotification(pendingIntent: PendingIntent, event: Event, content:
|
||||
.setContentIntent(pendingIntent)
|
||||
.setPriority(NotificationCompat.PRIORITY_MAX)
|
||||
.setDefaults(Notification.DEFAULT_LIGHTS)
|
||||
.setCategory(Notification.CATEGORY_EVENT)
|
||||
.setAutoCancel(true)
|
||||
.setSound(Uri.parse(soundUri), config.reminderAudioStream)
|
||||
.setChannelId(channelId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user