OSDN Git Service

Don't send AT+BCC if local device doesn't support codec negotiation.
authorSharvil Nanavati <sharvil@google.com>
Tue, 15 Mar 2016 20:13:45 +0000 (13:13 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 17 Mar 2016 00:11:09 +0000 (00:11 +0000)
commite79eaef05e0778917dcc77d95292370d5aa4491e
tree0c0ed3eae05dafdbfb175e95f3cefd69f3a5194d
parente8187e565382ae9afb52a7992e9a6ab1e3108999
Don't send AT+BCC if local device doesn't support codec negotiation.

The current code only checked if the peer supported codec negotiation
before sending AT+BCC. But if codec negotation is disabled on the
local device, we should definitely not send AT+BCC.

Bug: 27213013
Change-Id: Id372a32a61a3d96d5c093bc50594ef0b8c2eff2e
btif/src/btif_hf_client.c