Loading
Ensure BT headset state updation before connect.
Two BT fixes here: 1. Correct the force updation of BT headset. Looks like one of the partner CL: ag/703545 inadvertently overrode the |force| flag that was added in ag/565413 to update the BT headset with correct phone state on query. Correcting the logic to update the BT headset with phone state to honor the |force| flag regardless of the other flags. 2. For outgoing calls, update the BT headset that there is an outgoing call being placed even before the call reaches the DIALING state. This helps in ensuring that the connect_audio invoked reaches after BT headset knows that there is an outgoing call being placed. BUG: 23324160 Bug: 22996930 Bug: 23595828 Change-Id: Ib19712fbf357b8355de2132be643585e24d9a59c