Loading src/com/android/bluetooth/hfp/HeadsetStateMachine.java +3 −4 Original line number Diff line number Diff line Loading @@ -943,10 +943,9 @@ final class HeadsetStateMachine extends StateMachine { // fall through case DISCONNECT_AUDIO: if (disconnectAudioNative(getByteAddress(mCurrentDevice))) { mAudioState = BluetoothHeadset.STATE_AUDIO_DISCONNECTED; mAudioManager.setBluetoothScoOn(false); broadcastAudioState(mCurrentDevice, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED); log("Disconnecting SCO audio"); } else { Log.e(TAG, "disconnectAudioNative failed"); } break; case VOICE_RECOGNITION_START: Loading Loading
src/com/android/bluetooth/hfp/HeadsetStateMachine.java +3 −4 Original line number Diff line number Diff line Loading @@ -943,10 +943,9 @@ final class HeadsetStateMachine extends StateMachine { // fall through case DISCONNECT_AUDIO: if (disconnectAudioNative(getByteAddress(mCurrentDevice))) { mAudioState = BluetoothHeadset.STATE_AUDIO_DISCONNECTED; mAudioManager.setBluetoothScoOn(false); broadcastAudioState(mCurrentDevice, BluetoothHeadset.STATE_AUDIO_DISCONNECTED, BluetoothHeadset.STATE_AUDIO_CONNECTED); log("Disconnecting SCO audio"); } else { Log.e(TAG, "disconnectAudioNative failed"); } break; case VOICE_RECOGNITION_START: Loading