mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
enable alarm by default after creation/edit
This commit is contained in:
@ -336,7 +336,7 @@ fun Context.getHideAlarmPendingIntent(alarm: Alarm): PendingIntent {
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
fun Context.getAlarmNotification(pendingIntent: PendingIntent, alarm: Alarm): Notification {
|
||||
var soundUri = alarm.soundUri
|
||||
val soundUri = alarm.soundUri
|
||||
if (soundUri != SILENT) {
|
||||
grantReadUriPermission(soundUri)
|
||||
}
|
||||
|
Reference in New Issue
Block a user