You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception java.lang.IllegalArgumentException:
at android.app.LoadedApk.forgetServiceDispatcher (LoadedApk.java:1755)
at android.app.ContextImpl.unbindService (ContextImpl.java:1925)
at android.content.ContextWrapper.unbindService (ContextWrapper.java:717)
at android.speech.SpeechRecognizer.destroy (SpeechRecognizer.java:408)
at io.github.sspanak.tt9.ime.voice.VoiceInputOps.destroy (VoiceInputOps.java:19)
at io.github.sspanak.tt9.ime.voice.VoiceInputOps.onError (VoiceInputOps.java:19)
at io.github.sspanak.tt9.ime.voice.VoiceListener.onError (VoiceListener.java:13)
at android.speech.SpeechRecognizer$InternalListener$1.handleMessage (SpeechRecognizer.java:450)
at android.os.Handler.dispatchMessage (Handler.java:112)
at android.os.Looper.loop (Looper.java:216)
at android.app.ActivityThread.main (ActivityThread.java:7625)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)
Probably, it is best to retry speechRecognizer.destroy(); a couple of times and if it still fails, just set it to NULL. It is probably dead anyway.
The text was updated successfully, but these errors were encountered:
sspanak
changed the title
Stopping Voice Input causes an SDK exception under Android 9
Stopping Voice Input causes an SDK exception under Android 9 sometimes
Aug 2, 2024
Stack trace:
Probably, it is best to retry
speechRecognizer.destroy();
a couple of times and if it still fails, just set it to NULL. It is probably dead anyway.The text was updated successfully, but these errors were encountered: