0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-12-03 00:17:24 +00:00

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
}