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 18:21:08 +0000 (11:21 -0700)
commitfe5d973670cc6f95d7431f5a0699a326032e8b06
treeb1268bcbd5d89ff474290077680f410a26952002
parent7c27137325de48123d82703859596bd9232ef946
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
profile/avrcp/device.cc
profile/avrcp/tests/avrcp_device_test.cc