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

Commit c4bd170c authored by Felix Oghina's avatar Felix Oghina Committed by Android (Google) Code Review
Browse files

Merge "[speech] add binder alive check" into main

parents 0c148747 e4d721f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -892,7 +892,7 @@ public class SpeechRecognizer {
    }

    private boolean checkOpenConnection() {
        if (mService != null) {
        if (mService != null && mService.asBinder().isBinderAlive()) {
            return true;
        }
        mListener.onError(ERROR_CLIENT);