sxmo_modemaudio.sh swallow if on the target mode

This commit is contained in:
Willow Barraco
2023-12-27 17:27:58 +01:00
parent f9e8ed1667
commit 5e86c77a2c

View File

@@ -17,6 +17,10 @@ ca_dbus_set_prop() {
}
setup_audio() {
if is_call_audio_mode; then
return
fi
if ! enable_call_audio_mode; then
return 1
fi
@@ -24,6 +28,10 @@ setup_audio() {
}
reset_audio() {
if is_default_audio_mode; then
return
fi
if ! sxmo_hook_call_audio.sh "disable"; then
return 1
fi