OSDN Git Service

HFP Client connect Audio
authorJoseph Pirozzo <pirozzoj@google.com>
Thu, 29 Jun 2017 21:23:01 +0000 (14:23 -0700)
committerJoseph Pirozzo <pirozzoj@google.com>
Wed, 26 Jul 2017 00:41:47 +0000 (00:41 +0000)
commit50d4656483d3f70b532646f83a6ad317bfdf3af8
tree4df02645698b8b8c7f0b22cb67746577b1c6cc55
parentf246f94a5bd17be7faef96f9e086eaf6a0f0f9ef
HFP Client connect Audio

Listen for incomming SCO connections any time the Hands Free Profile is
connected to a phone.  Additionally allow eSCO connections on devices
that only support the standard SBC audio codec.

Bug: 62086689
Test: pair and connect a phone via HFP then start a phonecall and
enable and disable audio routing through BT observe that the connection
is established everytime.

Change-Id: I11319a4a85f8c9d36114a6fc09da0f0b8da16672
bta/hf_client/bta_hf_client_at.cc
bta/hf_client/bta_hf_client_main.cc
bta/hf_client/bta_hf_client_sco.cc