OSDN Git Service

AVRCP: Change notification variable when the interim response is sent
authorAjay Panicker <apanicke@google.com>
Tue, 26 Jun 2018 21:52:56 +0000 (14:52 -0700)
committerAjay Panicker <apanicke@google.com>
Thu, 28 Jun 2018 22:59:56 +0000 (15:59 -0700)
commit2d87908fe8825245dcc2e1dbde027331f1e2371d
treef82de4146b7a819c20f23fdd55a35ae9da3c6285
parent22f8446614341cadb975a6d762c695294c58ffd1
AVRCP: Change notification variable when the interim response is sent

This avoids the possibility of having a changed notification be sent
before an interim response is sent when the AVRCP service has to wait
for a response from the media layer for information regarding the
notification.

Also fix the PlayPosition test for AVRCP as it was testing for play
state correctness.

Bug: 109588762
Test: Run host test net_test_avrcp
Change-Id: Icb7bb1068191ecf2a2e390854084b6b9b47537fa
profile/avrcp/device.cc
profile/avrcp/tests/avrcp_device_test.cc