mirror of
https://github.com/apognu/otter
synced 2025-03-11 21:10:04 +01:00
Explicitely set notifications as public.
This commit is contained in:
parent
80554796d3
commit
dfeec64bf1
@ -61,6 +61,7 @@ class MediaControlsManager(val context: Service, private val mediaSession: Media
|
||||
AppContext.NOTIFICATION_CHANNEL_MEDIA_CONTROL
|
||||
)
|
||||
.setShowWhen(false)
|
||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||
.setStyle(
|
||||
MediaStyle()
|
||||
.setMediaSession(mediaSession.sessionToken)
|
||||
|
Loading…
x
Reference in New Issue
Block a user