mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
set an Event category to notifications, maybe they will become more reliable
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user