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

Commit e556b0e6 authored by Aleksandar Kiridžić's avatar Aleksandar Kiridžić Committed by Automerger Merge Worker
Browse files

Merge "speech: Null-check service connection before usage" into udc-dev am:...

Merge "speech: Null-check service connection before usage" into udc-dev am: 671d962a am: a0ada729

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23296601



Change-Id: I18c211adf3897625adf5b31272d70b4a59792283
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents bbdf8cfe a0ada729
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -812,7 +812,7 @@ public class SpeechRecognizer {
            Intent recognizerIntent,
            Executor callbackExecutor,
            RecognitionSupportCallback recognitionSupportCallback) {
        if (!maybeInitializeManagerService()) {
        if (!maybeInitializeManagerService() || !checkOpenConnection()) {
            return;
        }
        try {
@@ -831,7 +831,7 @@ public class SpeechRecognizer {
            Intent recognizerIntent,
            @Nullable Executor callbackExecutor,
            @Nullable ModelDownloadListener modelDownloadListener) {
        if (!maybeInitializeManagerService()) {
        if (!maybeInitializeManagerService() || !checkOpenConnection()) {
            return;
        }