Closed sogaiu closed 1 year ago
IIUC, RecognizerIntent.EXTRA_LANGUAGE should have an associated String value, not Locale. From the docs:
RecognizerIntent.EXTRA_LANGUAGE
String
Locale
Optional IETF language tag (as defined by BCP 47), for example "en-US".
Here is an SO answer that is related.
I was seeing errors in logcat output regarding this -- one side effect of it was that a fallback value was getting used instead when instantiating something.
Thank you!
IIUC,
RecognizerIntent.EXTRA_LANGUAGE
should have an associatedString
value, notLocale
. From the docs:Here is an SO answer that is related.
I was seeing errors in logcat output regarding this -- one side effect of it was that a fallback value was getting used instead when instantiating something.