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>
Mon, 31 Jul 2017 18:52:50 +0000 (11:52 -0700)
commit4a3ab51c0c2d3f80601aec0511e210c55f74a1a0
treefa18ee13f2a2d9359f2e188990223afa253bf171
parentc3e3e14ba7a323bb5046ccd7d3f1ece8e45c26da
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
(cherry picked from commit 50d4656483d3f70b532646f83a6ad317bfdf3af8)
bta/hf_client/bta_hf_client_at.cc
bta/hf_client/bta_hf_client_main.cc
bta/hf_client/bta_hf_client_sco.cc