AVRCP: Fix issues around trackChanged notification
When the track changes, sometimes the Queue ID changes before the
Metadata, and vice versa. Indicate that the track info has changed in
either case.
Guard against unsolicited responses since we are triggering more often.
Use the MediaController info for GetItemAttributes when the requested
id matches the current id.
Test: connect to Chrysler CK, switch to next track a few times, look for
good data.
Bug: 37707672
Change-Id: I6bffd419e22e1a029e11f9340afde54be00d3efc
3 files changed