OSDN Git Service

HFP: Ignore DISCONNECTED state in PhoneStateChange
authorJack He <siyuanh@google.com>
Wed, 23 May 2018 00:35:57 +0000 (17:35 -0700)
committerJack He <siyuanh@google.com>
Wed, 23 May 2018 18:45:36 +0000 (18:45 +0000)
commit245a14f49214631c116055dbf6dd31ea3a2261ec
treed693074d82b9f9aa2abe003aba171bae46b727a3
parent6d493bdc7b7cc9d38f6759d08734cce691c6ac45
HFP: Ignore DISCONNECTED state in PhoneStateChange

* DISCONNECTED state is a transient state from Telecom service and will
  always lead to IDLE state when the call is completely disconnected
* This state should be ignored as HFP specification does not handle
  cases when a call is being disconnected

Bug: 78674822
Test: Receive incoming call and hangup
Change-Id: Icebdf9b5fdffad3e2b78645d4f0c69ec13b2604c
btif/src/btif_hf.cc