OSDN Git Service

btif: GetItemAttributes can return no attributes
authorMarie Janssen <jamuraa@google.com>
Fri, 14 Apr 2017 21:07:19 +0000 (14:07 -0700)
committerMarie Janssen <jamuraa@google.com>
Wed, 10 May 2017 18:08:59 +0000 (11:08 -0700)
commit840f4f3de98c7d6c83abae89f0b41990bc56fef4
tree7b1c9af7d81cb17a3c00a926438ee36dec91790f
parent671ad6679ce4b8edcdb7eaaee96bc5c66b557441
btif: GetItemAttributes can return no attributes

If there are no attributes available, it's possible to return zero
attributes from a GetItemAttributes request.

This is triggered by some carkits who are unhappy when they only get
titles back (the only required item) and ask for the rest of the
attributes (which we don't have).

Test: connect to honda carkit and get snoop logs to confirm
Bug: 36055995
Bug: 35956792
Change-Id: I5a31e206565d212e456111d8c6b542c7a1569e5a
btif/src/btif_rc.cc