Version
Media3 1.9.2
More version details
Hello,
We are experiencing an issue with MediaSessionCompat where the Now Playing card does not appear on Google TV (Android 14), while the exact same implementation works correctly on Android TV devices.
Environment
- Google TV device running Android 14
- Android TV device (works correctly)
- Tested with:
- MediaSessionCompa
- Latest version of Media3 (migration attempted)
- Foreground Service with MediaStyle notification
- MediaSession token attached to the notification
Behavior
On Android TV:
- When playback starts and the user presses Home, the Now Playing card appears correctly.
On Google TV (Android 14):
- Playback works correctly.
- MediaSession is active.
- MediaStyle notification is visible.
- Audio focus is properly granted.
- However, the Now Playing card does NOT appear on the Home screen.
- MediaSession setup
- mediaSession.setActive(true) is called
- PlaybackStateCompat is set to STATE_PLAYING
- Metadata (title, artwork, etc.) is set
- Foreground service is running with a MediaStyle notification using the session token
- Audio focus is requested and granted
Additional test
We migrated the implementation to the latest version of Media3, but the issue remains strictly identical on Google TV (Android 14).
Expected behavior
The Now Playing card should appear on Google TV exactly as it does on Android TV when playback is active.
Actual behavior
The Now Playing card does not appear on Google TV (Android 14) only.
Question
Is this a known issue specific to Google TV on Android 14?
Are there additional requirements or restrictions on Google TV (e.g., Play Store publication, TV certification, MediaSession configuration changes) for the Now Playing card to be displayed?
Thank you.
Devices that reproduce the issue
Google TV Streamer - Android 14
Devices that do not reproduce the issue
Others Android TV
Reproducible in the demo app?
Yes
Reproduction steps
- Play an audio content and click on "Home" button of Remote controller.
- Open notification center
Expected result
There is a notification in notification center (or the now playing card in home)
Actual result
no notification, no "now playing card"
Media
Not applicable (any mp3, for exemple: https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3)
Bug Report
Version
Media3 1.9.2
More version details
Hello,
We are experiencing an issue with MediaSessionCompat where the Now Playing card does not appear on Google TV (Android 14), while the exact same implementation works correctly on Android TV devices.
Environment
Behavior
On Android TV:
On Google TV (Android 14):
Additional test
We migrated the implementation to the latest version of Media3, but the issue remains strictly identical on Google TV (Android 14).
Expected behavior
The Now Playing card should appear on Google TV exactly as it does on Android TV when playback is active.
Actual behavior
The Now Playing card does not appear on Google TV (Android 14) only.
Question
Is this a known issue specific to Google TV on Android 14?
Are there additional requirements or restrictions on Google TV (e.g., Play Store publication, TV certification, MediaSession configuration changes) for the Now Playing card to be displayed?
Thank you.
Devices that reproduce the issue
Google TV Streamer - Android 14
Devices that do not reproduce the issue
Others Android TV
Reproducible in the demo app?
Yes
Reproduction steps
Expected result
There is a notification in notification center (or the now playing card in home)
Actual result
no notification, no "now playing card"
Media
Not applicable (any mp3, for exemple: https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3)
Bug Report
adb bugreportto android-media-github@google.com after filing this issue.