diff options
author | Andrea Ambu <andreaambu@google.com> | 2021-06-25 10:46:39 +0100 |
---|---|---|
committer | Andrea Ambu <andreaambu@google.com> | 2021-07-08 17:29:12 +0000 |
commit | 6a630f8e00a00ffd9b168e131d3f583cf930cda3 (patch) | |
tree | cbe1f872a2ad53eeea7ed88136e6ce2f51082772 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 7058f9948fccca9556138ad48724796bb2baa944 (diff) |
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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions