Nevermind, I misread your comment... this seems good, but why is there a
'TODO'...
--
sic dicit magister P
https://phartman.sites.luc.edu/
GPG keyID 0xE0DBD3D6 (CAE6 3A6F 755F 7BC3 36CA 330D B3E6 39C6 E0DB D3D6)
The todo is about having callaudiocli report errors it encounters,
rather than us needing to check its work. Sorry the comment wasn't very
descriptive, I need to get better about that.
When callaudiod disables call audio mode it always enables the mic.
Because we were disabling the mic before disabling call audio mode
reset_audio always fails.
I also removed the retry loop; if the software we rely on breaks we
should fix it upstream, rather than hitting it with a hammer until it
works.
Why not add:
|| sxmo_notify_user.sh "Error..."
?
I think in this particular case, hitting it with a hammer might be
warranted. Modem audio is kind of crucial on a phone!
Maybe we split this into two patches.