AVRCP: set addressed player on key dispatch
MediaSessionManager.Callback.onAddressedPlayerChanged isn't being called consistently when the package that receives media keys changes. This affects media metadata showing up because the addressed player controls the mMediaController. Update the addressed player for every media key press as a workaround. Adjust logging to reduce logspam. Test: connect to carkit, play from GPM then switch to Youtube. Bug: 37789858 Bug: 34471252 Bug: 37998705 Bug: 37865298 Change-Id: Ic94bb97d51f48f9799edfca0d5f9a9b2872b0132 (cherry picked from commit 78d53f7d) (cherry picked from commit 0c3b4f4f)
Loading
Please register or sign in to comment