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…
Reference in New Issue