OSDN Git Service

Update call state before opening SCO.
authorMallikarjuna GB <gbmalli@codeaurora.org>
Fri, 28 Nov 2014 04:51:15 +0000 (10:21 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 4 Jun 2015 17:33:30 +0000 (10:33 -0700)
commit7b0bfd32833a8da08069b60e6568aace90778b62
tree775f65334103e7cfe5ec645bbdbd69c410cded55
parentd345bb208fe35923b60bca6af76b0a6e023fc56f
Update call state before opening SCO.

This change makes sure to update the current
call state before opening SCO connection when
incoming call is answered. Some car kits are
strict in checking this sequence and go in
bad state if not done this way.

Change-Id: Ie744dc26c02d897eaf016ee73022bfc2a0db067e
bta/ag/bta_ag_cmd.c