Always-on Display Is Not Updated Dynamically
@marcbaechinger is already working on this.
Since Jan 25, 2023.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Media3 Version
1.0.0-beta03
Devices that reproduce the issue
- Pixel 4a running Android 13
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
I maintain an Android radio app. The app displays the currently playing song in the notification. Media3 automatically updates the notification when no Title has been set in MediaMetadata of a MediaItem - which is pretty neat (see also #153).
The Always-on Display on the other hand is not automatically updated.
To reproduce:
- turn on the Always-on Display in Settings > Display > Lock screen > Always show time and info on the testing device
- modify the demo-session app to not set a title in MediaItemTree.kt
- play back a radio station via the demo-session app
- the Notification is updated dynamically ✅
- turn off the display to see if the title is updated dynamically in the Always-on Display
Expected result
In the Always-on Display the same Title should be displayed as in the Notification.
Actual result
The Always-on Display displays "No title", when a title has not been set.
The photos above are from a fork of the demo-session app (see https://github.com/y20k/media3/commit/2e722acef9dbf7c7bc5f079c1605b779e2d42dae).
Media
I added a radio station to demos/session/src/main/assets/catalog.json in a fork of the demo app to test the issue.
Bug Report
- You will email the zip file produced by
adb bugreportto dev.exoplayer@gmail.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.

