Fixed audio routes selected button not updated after change
This commit is contained in:
parent
fc3d752497
commit
00d7f93094
1 changed files with 6 additions and 0 deletions
|
@ -293,14 +293,20 @@ class ControlsViewModel : ViewModel() {
|
|||
} else {
|
||||
AudioRouteUtils.routeAudioToEarpiece()
|
||||
}
|
||||
updateSpeakerState()
|
||||
updateBluetoothHeadsetState()
|
||||
}
|
||||
|
||||
fun forceSpeakerAudioRoute() {
|
||||
AudioRouteUtils.routeAudioToSpeaker()
|
||||
updateSpeakerState()
|
||||
updateBluetoothHeadsetState()
|
||||
}
|
||||
|
||||
fun forceBluetoothAudioRoute() {
|
||||
AudioRouteUtils.routeAudioToBluetooth()
|
||||
updateSpeakerState()
|
||||
updateBluetoothHeadsetState()
|
||||
}
|
||||
|
||||
fun toggleVideo() {
|
||||
|
|
Loading…
Reference in a new issue