I am using the PlayerNotificationManager with Exoplayer and upto Android 10 Notification Tray is visible on startForeground() but in one of my phone when I upgraded to Android 11, the Notification Tray for media player stopped showing.
Please Help!!
Here I debugged on Google Pixel Now:
Working on Google Pixel android 11 but Not on Samsung G973F. Why this is not working on Samsung??
Here, I arises the issue On git ExoPlayer, the it's an device specific Issue, so, here is the link of that issue,
https://github.com/google/ExoPlayer/issues/8500
Use MediaSessionConnector with ExoPlayer PlayerNotificationManager and MediaSessions:
https://github.com/google/ExoPlayer/tree/release-v2/extensions/mediasession
Here there is use of MediaSession and MediaSessionConnector in more brief:
https://developer.android.com/codelabs/supporting-mediasession
1.4m articles
1.4m replys
5 comments
56.9k users