TWSP-HFP: Setup SCO connection with earbud only if it is INEAR (2/2)
While earbud is not in ear state, SCO connection request will be rejected
by earbud. Then SCO audio disconnected event will cause VOIP call stop.
1) In BTA AG SM, SCO connection open event will trigger the secondary SCO
connection only if the earbud is INEAR state.
2) In BTIF HF, Move audio to connecting state and trigger BTA AG setup SCO
connection only if the earbud is INEAR state.
Change-Id: I55f25c84874132258c24d8b7eff2b355e51e0419
3 files changed