Fix concurrent playback transitions on Android Automotive - #5636
Fix concurrent playback transitions on Android Automotive#5636joashrajin wants to merge 3 commits into
Conversation
|
Claude finished @joashrajin's task in 4m 12s —— View job Code ReviewI reviewed the full diff (
What looks good 👍
Issues & concerns1. 2. Player events are now gated on transition currency + binding (inline on 3. Test coverage is limited to the coordinator. The 400+ lines of Minor notes
Note on verificationI reviewed statically only — I did not run Nice work tackling a tricky race; the two inline items (especially #1) are the ones I'd want addressed before this lands. |
Generated by 🚫 Danger |
|
Version |
Description
Prevents concurrent and stale playback transitions from creating or retaining multiple audio players on Android Automotive.
Playback commands now:
This keeps the fix focused in the shared playback manager while covering Play, Pause, Stop, completion, autoplay, error recovery, queue removal, and Cast handoffs.
Fixes PCDROID-569
Testing Instructions
./gradlew spotlessCheck../gradlew :modules:services:repositories:testDebugUnitTest../gradlew :automotive:compileDebugKotlin.Screenshots or Screencast
Not applicable — no UI changes.
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...