I have an app that keeps on listening to voice and converting it to commands using Google Voice API.
I have been using setStreamMute(AudioManager.STREAM_SYSTEM, true)
to mute the beep and it worked until a couple of days ago before "Google Search" new update.
Is there any workaround fix for it?
I know I can use setRingerMode(AudioManager.RINGER_MODE_SILENT)
, but maybe there is another method?
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
do not forget like me. – Coterminous