OSDN Git Service

AVRCP Controller request metadata on playback.
authorJoseph Pirozzo <pirozzoj@google.com>
Tue, 1 Aug 2017 21:58:03 +0000 (14:58 -0700)
committerJoseph Pirozzo <pirozzoj@google.com>
Wed, 2 Aug 2017 13:44:47 +0000 (13:44 +0000)
commit7e08d96dc3b58e4d796c901b92d35185da005548
tree816a762ea80e398a777f9b2fd92b7c5454eb3463
parentb866da0bc1254103146912077bcb49128963dee7
AVRCP Controller request metadata on playback.

Track metadata is only provided when requested, and the current
implementation only requested it when there was a track change
notification.  Add a request for metadata whenever there is an
update to indicate that the play status is playing.

Bug: 63998350
Test: Start playing media, make a phone call, end a phonecall observe
metadata is correct.

Change-Id: Iea5cdacfe95c1a98cdaf73836ee6359a923f481b
btif/src/btif_rc.cc