OSDN Git Service

DO NOT MERGE ANYWHERE Don't send BT+BCC if local device doesn't support codec negotia...
authorSharvil Nanavati <sharvil@google.com>
Tue, 15 Mar 2016 20:13:45 +0000 (13:13 -0700)
committerSharvil Nanavati <sharvil@google.com>
Tue, 15 Mar 2016 20:15:01 +0000 (13:15 -0700)
commitef192019f8a289b6ecf1a86d33377d44df7f27c5
tree8c870c51cdd156c4d8004ecc9a1eb6358b1246a2
parentce1b1a6ac4ff4c42919afbb75eb6ab42d57c588e
DO NOT MERGE ANYWHERE Don't send BT+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