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>
Wed, 10 Jun 2015 21:17:29 +0000 (21:17 +0000)
commit8885d6f4ea0aca5e97a5f405434d4494c5e41b85
tree60fb73382037d2c37f76c7f6ed97d6e7d7b71584
parent616e7417c9520db24adf20b7c0aaf967ce6e106d
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