OSDN Git Service

Don't reject notifications and wait until new addressed player is ready (2/2)
authorAjay Panicker <apanicke@google.com>
Wed, 30 Aug 2017 01:30:43 +0000 (18:30 -0700)
committerMyles Watson <mylesgw@google.com>
Fri, 22 Sep 2017 16:32:06 +0000 (16:32 +0000)
commitb72a002756513757b493db9e1e746cc6e958c14e
treeba2b95aad690f1107e93ee87e0306eb64dfca50e
parent8c273b3700f152e7a3381726a300409e15e38c2c
Don't reject notifications and wait until new addressed player is ready (2/2)

There are some carkits like the ones found in the 2016 Honda CRZ and some
Audi's that do not follow the spec and do not honor reject pending notification
messages after switching players. This causes an issue whenever you switch
players, the metadata freezes due to the fact that the carkit never re-registers
for new track changed notifications. This patch removes the reject notification
and reorders the current notifications.

Bug: 64142363
Test: Test with Audi S7 and 2016 Honda CRZ and see that switching players works
      TestTracker: 105391/3975
Change-Id: Iaec70863594e13217916ab740d529f526d27c2d1
(cherry picked from commit dd535e70c767fe214c1634b46618d0fb5ed4385d)
btif/src/btif_rc.cc