Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used:1.1.0-rc01
Devices/Android versions reproduced on:
NVidia Shield A11
This far it has been possible to set language with deprecated androidx.leanback.app.SearchSupportFragment#setSpeechRecognitionCallback
method, and starting activity with REQUEST_SPEECH intent. But this now fails with
"RecognitionService: call for recognition service without RECORD_AUDIO permissions"
even if application has record audio permission.
If speech recognizer from SearchSupportFragment is used there is no way to set language. Intent where RecognizerIntent.EXTRA_LANGUAGE should be set cannot be modified. You can find intent from
androidx/leanback/widget/SearchBar.java:624
I also tried changing locale with Locale.setDefault() and it doesn't work.