maxrave-dev / maxrave-dev/SimpMusic
[One UI 8.5] MediaSession breakdown: Notification card fails to foreground app and status bar pill disappears
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 11.4k
- Forks
- 599
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 7
Description
Duplicate Check
- I confirm I searched for existing reports and found no duplicates.
Describe the Bug
There is a severe MediaSession background sync breakdown when running the app on Samsung One UI 8.5 (Android 16). The background service fails to communicate properly with the system UI, causing the notification card to become unresponsive and the status bar pill to vanish.
Specific symptoms observed:
- Status Bar Pill Disappears: The compact status bar pill (Now Bar / Live Notification) vanishes mid-song. It only flashes briefly for 2-3 seconds during a crossfade track transition when new metadata loads, then disappears entirely once the song plays normally.
- Notification Drawer Card Unresponsive: Tapping or clicking the media card inside the notification drawer does absolutely nothing. It completely fails to open or bring the app to the foreground.
- Playback Controls Loop & Flicker: When hitting pause, the notification panel card flickers, disappears, and reappears. Pressing play afterward triggers a loop where the notification constantly refreshes, but the audio stream remains paused and fails to resume.
Cross-Testing & Isolation Context:
- OS Isolation: This bug does NOT happen on RealmeUI, indicating the issue is specific to Samsung's One UI 8.5 active background listener.
- App Isolation: This bug does NOT happen with other music players (such as ArchiveTune) on this exact same Samsung Galaxy M17 device.
- Root Cause Indicator: This points directly to a specific MediaMetadata token-dropping or synchronization issue occurring uniquely between SimpMusic and One UI 8.5.
Steps to Reproduce
- Open SimpMusic on a Samsung device running One UI 8.5.
- Start playing an audio stream or playlist.
- Observe the compact status bar pill (Now Bar) during a crossfade track transition (it flashes for 2-3 seconds, then vanishes).
- Pull down the notification drawer and click/tap on the active media card.
- Attempt to press "Pause" and then "Play" on the notification card controls.
Expected Behavior
The status bar pill should remain visible during playback, tapping the notification card should bring the app to the foreground, and playback controls should responsively pause/resume the audio without UI looping.
App Version
2.1.0 Full version
Android Version
Android 16 OneUI 8.5
Device Model
Galaxy M17
Custom ROM
- I am using a custom ROM
Custom ROM Name (if applicable)
No response
Screenshots (optional)
Log / Error Details
No response
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.
Research direction
Reproduce the issue on a Galaxy M17 running Android 16 and One UI 8.5, then trace the MediaSession background service and notification-card handling. No source file, test, or logs are identified in the report, so first collect logs and compare the behavior with RealmeUI. Done means the status bar pill remains visible, the card opens the app, and pause/play work without flickering or looping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100