mirror of
https://github.com/apognu/otter
synced 2025-03-12 13:30: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
|
AppContext.NOTIFICATION_CHANNEL_MEDIA_CONTROL
|
||||||
)
|
)
|
||||||
.setShowWhen(false)
|
.setShowWhen(false)
|
||||||
|
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||||
.setStyle(
|
.setStyle(
|
||||||
MediaStyle()
|
MediaStyle()
|
||||||
.setMediaSession(mediaSession.sessionToken)
|
.setMediaSession(mediaSession.sessionToken)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user