Loading media/java/android/media/AudioService.java +1 −5 Original line number Original line Diff line number Diff line Loading @@ -1437,8 +1437,6 @@ public class AudioService extends IAudioService.Stub { if (mBluetoothHeadsetDevice != null) { if (mBluetoothHeadsetDevice != null) { if (mBluetoothHeadset != null) { if (mBluetoothHeadset != null) { if (!mBluetoothHeadset.stopVoiceRecognition( if (!mBluetoothHeadset.stopVoiceRecognition( mBluetoothHeadsetDevice) || !mBluetoothHeadset.stopScoUsingVirtualVoiceCall( mBluetoothHeadsetDevice)) { mBluetoothHeadsetDevice)) { sendMsg(mAudioHandler, MSG_BT_HEADSET_CNCT_FAILED, 0, sendMsg(mAudioHandler, MSG_BT_HEADSET_CNCT_FAILED, 0, SENDMSG_REPLACE, 0, 0, null, 0); SENDMSG_REPLACE, 0, 0, null, 0); Loading Loading @@ -1506,8 +1504,6 @@ public class AudioService extends IAudioService.Stub { break; break; case SCO_STATE_DEACTIVATE_EXT_REQ: case SCO_STATE_DEACTIVATE_EXT_REQ: status = mBluetoothHeadset.stopVoiceRecognition( status = mBluetoothHeadset.stopVoiceRecognition( mBluetoothHeadsetDevice) && mBluetoothHeadset.stopScoUsingVirtualVoiceCall( mBluetoothHeadsetDevice); mBluetoothHeadsetDevice); } } } } Loading Loading
media/java/android/media/AudioService.java +1 −5 Original line number Original line Diff line number Diff line Loading @@ -1437,8 +1437,6 @@ public class AudioService extends IAudioService.Stub { if (mBluetoothHeadsetDevice != null) { if (mBluetoothHeadsetDevice != null) { if (mBluetoothHeadset != null) { if (mBluetoothHeadset != null) { if (!mBluetoothHeadset.stopVoiceRecognition( if (!mBluetoothHeadset.stopVoiceRecognition( mBluetoothHeadsetDevice) || !mBluetoothHeadset.stopScoUsingVirtualVoiceCall( mBluetoothHeadsetDevice)) { mBluetoothHeadsetDevice)) { sendMsg(mAudioHandler, MSG_BT_HEADSET_CNCT_FAILED, 0, sendMsg(mAudioHandler, MSG_BT_HEADSET_CNCT_FAILED, 0, SENDMSG_REPLACE, 0, 0, null, 0); SENDMSG_REPLACE, 0, 0, null, 0); Loading Loading @@ -1506,8 +1504,6 @@ public class AudioService extends IAudioService.Stub { break; break; case SCO_STATE_DEACTIVATE_EXT_REQ: case SCO_STATE_DEACTIVATE_EXT_REQ: status = mBluetoothHeadset.stopVoiceRecognition( status = mBluetoothHeadset.stopVoiceRecognition( mBluetoothHeadsetDevice) && mBluetoothHeadset.stopScoUsingVirtualVoiceCall( mBluetoothHeadsetDevice); mBluetoothHeadsetDevice); } } } } Loading