speech: Add lenient SpeechRecognizer instantiation
This change allows to test on-device listening via a temporary recognizer even in devices that do no support on device recognition. It moves the failure from the static SpeechRecognizer#createOnDeviceSpeechRecognizer to the instance #startListening. fail-on-listening Bug: 192586674 Test: atest CtsVoiceRecognitionTestCases with both config and no config Change-Id: Id722f4e5167132b76b4fbd5ea0c2ef7d19f15909
Loading
Please register or sign in to comment