Don't honor startBluetoothSco/stopBluetoothSco when BT is OFF

When VOIP app calls startBluetoothSco during BT OFF,
mScoAudioState is set to SCO_STATE_ACTIVATE_REQ and count is
incremented by 1. However, when onServiceConnected for
HeadsetService gets called during BT turn ON, mScoAudioState is
reset to 0 but count is still 1. This leads to subsequent
startBluetoothSco() requests to fail. Don't honor
startBluetoothSco/stopBluetoothSco when BT is OFF.

CRs-Fixed: 2490082
Change-Id: Ida3a0548a5cadd47194d4a024f8322177e794d05
1 file changed