Skip to content

Commit

Permalink
Add missing callback dispatch #2506
Browse files Browse the repository at this point in the history
  • Loading branch information
sangho.lee authored and shshshl09 committed Jul 10, 2024
1 parent ad9e969 commit 5aee5f8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,11 @@ class SpeechRecognizerAggregator(
countDownLatch.countDown()
callback?.onError(dialogRequestId, errorType)
}

override fun onCancellableRetrieved(cancelable: ASRAgentInterface.StartRecognitionCallback.Cancellable) {
Logger.d(TAG, "[executeStartListeningInternal] onCancellableRetrieved: $cancelable")
callback?.onCancellableRetrieved(cancelable)
}
},
initiator,
requestType
Expand Down Expand Up @@ -525,4 +530,4 @@ class SpeechRecognizerAggregator(
}

override fun getState() = state
}
}

0 comments on commit 5aee5f8

Please sign in to comment.