clean
This commit is contained in:
parent
04a7c57d64
commit
07e57b1498
|
@ -156,7 +156,7 @@ class CallAudioManager(
|
||||||
if (audioManager != null && isBluetoothHeadsetConnected(audioManager!!)) {
|
if (audioManager != null && isBluetoothHeadsetConnected(audioManager!!)) {
|
||||||
audioManager?.stopBluetoothSco()
|
audioManager?.stopBluetoothSco()
|
||||||
audioManager?.isBluetoothScoOn = false
|
audioManager?.isBluetoothScoOn = false
|
||||||
audioManager?.setSpeakerphoneOn(false)
|
audioManager?.isSpeakerphoneOn = false
|
||||||
}
|
}
|
||||||
bluetoothAdapter?.closeProfileProxy(BluetoothProfile.HEADSET, it)
|
bluetoothAdapter?.closeProfileProxy(BluetoothProfile.HEADSET, it)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue