Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dfac66be authored by Aleksandar Kiridzic's avatar Aleksandar Kiridzic
Browse files

speech: Null-check service connection before usage

In SpeechRecognizer handleStartListening, handleStopMessage and
handleCancelMessage, there is a null-check before calling
the service’s methods. The same check is now added to
handleCheckRecognitionSupport and handleTriggerModelDownload.

Bug: 282013412
Test: atest CtsVoiceRecognitionTestCases
Change-Id: I506282779e02747f8904cf9cbbdbc3ce135ee2b7
parent 862d7365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment