OSDN Git Service

Send UID 0 for track changed if there is no media ID
authorAjay Panicker <apanicke@google.com>
Tue, 8 May 2018 23:34:04 +0000 (16:34 -0700)
committerAjay Panicker <apanicke@google.com>
Tue, 29 May 2018 21:49:04 +0000 (21:49 +0000)
commit2789ae2b57085aad446d7e062f66f5d83cf26e0b
treed353f5fcd939c6a8fdb42646ca60d7cf1d616f41
parentc52986354cb1a3eb8204bc8e351882ebeebf2baf
Send UID 0 for track changed if there is no media ID

Some carkits need the track changed UID to change even though we
explicitly report that UID's are refreshed on any now playing list
change. UID 0 is special since it represents that the song has changed
and forces an update.

Bug: 72824896
Test: Tested with Audi carkit where Spotify wasn't updating past the
first song previously.

Change-Id: I033f9a2f96acfde25922d6912a4927b95fb89596
profile/avrcp/device.cc