mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-25 15:15:27 +00:00
Change:Media background notification set importance_low to stop noise/vibration
This commit is contained in:
parent
abb41979f4
commit
fd4974dfce
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||
@RequiresApi(Build.VERSION_CODES.O)
|
||||
private fun createNotificationChannel(channelId: String, channelName: String): String {
|
||||
val chan = NotificationChannel(channelId,
|
||||
channelName, NotificationManager.IMPORTANCE_HIGH)
|
||||
channelName, NotificationManager.IMPORTANCE_LOW)
|
||||
chan.lightColor = Color.DKGRAY
|
||||
chan.lockscreenVisibility = Notification.VISIBILITY_PUBLIC
|
||||
val service = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
||||
|
|
|
|||
Loading…
Reference in a new issue