summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Aleksandar Kiridzic <kiridza@google.com> 2023-05-18 16:44:24 +0100
committer Aleksandar Kiridzic <kiridza@google.com> 2023-05-23 12:48:17 +0100
commitdfac66be91554fc3b32cf72d1f6283b1432a8687 (patch)
tree37033414e44887b6116e9baa1e2b740a32ebe26d /libs/androidfw/ApkParsing.cpp
parent862d7365c95311442f702749998763303d21d7ef (diff)
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions