Tear down Bluetooth connection after voice memo recording.

This commit is contained in:
Nicholas Tinsley 2023-05-17 14:30:30 -04:00
parent fd116e0178
commit 61bf788f52

View file

@ -49,7 +49,9 @@ private class BluetoothVoiceNoteUtil31(val listener: () -> Unit) : BluetoothVoic
listener()
}
override fun disconnectBluetoothScoConnection() = Unit
override fun disconnectBluetoothScoConnection() {
ApplicationDependencies.getAndroidCallAudioManager().clearCommunicationDevice()
}
override fun destroy() = Unit
}