EN: Fix notifications on 8.0.0

Actually same issue as #1312
This commit is contained in:
Marvin W 2020-12-21 17:05:31 +01:00
parent 714367b3aa
commit 85e06675f3
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A

View File

@ -42,7 +42,7 @@ class NotifyService : LifecycleService() {
if (Build.VERSION.SDK_INT >= 29) {
channel.setAllowBubbles(false)
}
channel.vibrationPattern = LongArray(0)
channel.vibrationPattern = longArrayOf(0)
getSystemService(NotificationManager::class.java).createNotificationChannel(channel)
return channel.id
}