OSDN Git Service

Send correct key state and ignore keys from inactive device (1/2)
authorAjay Panicker <apanicke@google.com>
Fri, 4 May 2018 21:30:45 +0000 (14:30 -0700)
committerAjay Panicker <apanicke@google.com>
Mon, 7 May 2018 21:10:20 +0000 (14:10 -0700)
commitc4546f592b943463337a260ccbbe92546832200d
tree5470b1df5830c0900f0e5168cb46c4ca9cfa5b7e
parent1799f2fd0cd967f8537c3e569a5f7f82baf04276
Send correct key state and ignore keys from inactive device (1/2)

Also make it clearer whether the key state is pushed or released.

Bug: 79178216
Test: Run host native test net_test_avrcp
Change-Id: I8595ac97718bcb2af8f33643df4b9c8059a1b30b
btif/avrcp/avrcp_service.cc
include/hardware/avrcp/avrcp.h
include/hardware/avrcp/avrcp_common.h
include/hardware/avrcp/avrcp_logging_helper.h
packet/avrcp/pass_through_packet.cc
packet/avrcp/pass_through_packet.h
packet/tests/avrcp/pass_through_packet_test.cc
profile/avrcp/device.cc
profile/avrcp/tests/avrcp_device_test.cc
profile/avrcp/tests/avrcp_test_helper.h