OSDN Git Service

HFP: notify HF about call status forcibly
authorAlbin Joy <albin.joy@huawei.com>
Wed, 14 Jun 2017 11:10:42 +0000 (19:10 +0800)
committerMyles Watson <mylesgw@google.com>
Mon, 4 Dec 2017 22:22:54 +0000 (22:22 +0000)
commit424f2cc7b73748250af3e16c41734f237581fa34
tree30f5e685b0e79fc196f7f5fa41d1526916a835f2
parent4449ed441237c9cfe32e373fb5e4979cea7ac7f6
HFP: notify HF about call status forcibly

When call is hung up and still there is another
call is in active,some of the HF cannot acquire
the call states by its own. If HF try to terminate
a call, it may not send the command AT+CHUP because
the call states are not updated properly. HF should
get informed the call status forcibly.

Bug: 63411867
Test: motorola H500
Change-Id: I4025b39ebcef0bc915a6ab146ea3a5c5a8ebb2c2
bta/ag/bta_ag_cmd.cc
bta/include/bta_ag_api.h
btif/src/btif_hf.cc