OSDN Git Service

AVRCP: Reject invalid PlayItem and SetAddressedPlayer command
authorHansong Zhang <hsz@google.com>
Wed, 30 May 2018 21:16:23 +0000 (14:16 -0700)
committerHansong Zhang <hsz@google.com>
Thu, 31 May 2018 20:43:11 +0000 (13:43 -0700)
commitc2f06bd7cd2a3796a715a67bf730b3e700f9d21d
tree41db9b23ca6861245542268b2b6cc14e77ca0e5e
parent0b569b1d8253eab9e7968a1d3cfa8b7aeb937591
AVRCP: Reject invalid PlayItem and SetAddressedPlayer command

* Use CType REJECT to reject invalid PlayItem command
* Reject SetAddressPlayer command as it is not implemented

Bug: 80481276
Bug: 80483247
Test: PTS AVRCP/TG/MCN/NP/BI-01-C
Change-Id: I837f6d2661e94e09afaa72a9c0c77d5c1ffe9e98
(cherry picked from commit fe5d973670cc6f95d7431f5a0699a326032e8b06)
profile/avrcp/device.cc
profile/avrcp/tests/avrcp_device_test.cc