OSDN Git Service

Replace AVRC callback function pointers with base::Callback
authorAjay Panicker <apanicke@google.com>
Sun, 26 Nov 2017 00:27:33 +0000 (16:27 -0800)
committerMyles Watson <mylesgw@google.com>
Wed, 21 Feb 2018 21:45:04 +0000 (21:45 +0000)
commit0d6d447a1e9fafca2537b10d298066edd7754637
treeca12203a2f86d46ab87437c6af7235781a188123
parent57bb0b493470c09ff2bdbf78a2e80070c827e35c
Replace AVRC callback function pointers with base::Callback

Replace function pointers with base::Callback for AVRCP to make
interfacing with the new AVRCP service easier.

Bug: 68812037
Test: Connect headset and see that Absolute volume and passthrough
commands still work.

Change-Id: I2ab20b7b59186aea413a736f43e926e17915a139
bta/av/bta_av_act.cc
stack/avrc/avrc_api.cc
stack/avrc/avrc_int.h
stack/avrc/avrc_sdp.cc
stack/include/avrc_api.h