sxmo_modemaudio.sh: enforce speaker mode after a call

This is another try to solve this problem.
This commit is contained in:
Willow Barraco
2023-12-27 11:17:45 +01:00
parent 18d2845f78
commit b62eda14d6

View File

@@ -27,7 +27,10 @@ reset_audio() {
if ! sxmo_hook_call_audio.sh "disable"; then if ! sxmo_hook_call_audio.sh "disable"; then
return 1 return 1
fi fi
disable_call_audio_mode if ! disable_call_audio_mode; then
return 1
fi
sxmo_hook_call_audio.sh "disable"
} }
toggle_speaker() { toggle_speaker() {