Hello,
I am currently porting my Android TV app to the Fire TV and I am only having one issue. I understand that I cannot use the voice search on Android TV and that is probably why I am having problems. My app was built upon an old version of this library. https://github.com/googlesamples/androidtv-Leanback
When the android tv leanback search fragment loads I type in what I am looking for with the amazon keyboard and it works perfectly. The problem is after I select one of the search results it crashes on closing down the speech recognizer. Unfortunately the speech recognizer is closed in a parent class that I do not have access to in the leanback support library so cannot stop the searchfragment class from calling releaseRecognizer(); when it hits onPause();
Is there a way I can handle this so my app doesnt crash without having to create an entirely new search fragment? Again my search fragment derives from the leanback launcher searchfragment which i do not have access to modify.
Here are the erros in my logcat.
java.lang.RuntimeException: Unable to pause activity {xx.xxx.xxx.ui.SearchActivity}: java.lang.IllegalArgumentException: Service not registered: android.speech.SpeechRecognizer$Connection@561cef0