Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M115 merge] libassistan-v2: Temporary fix speaker id enrollment
In LibAssistant V2, the `kProcessState` is not received by the gRPC client. As a temporary fix, we can use `kRecognizeState` to indicate that the utterance is recognized and will be collected. During my tests, the `kRecognizeState` is always followed by `kProcessState`, but cannot rule out the possibility the utterance is not collected. But I think it is reasonable to use `kRecognizeState` as a backup. We will continue investigating why the `kProcessState` is not sent to the client in b/284987346. (cherry picked from commit df71c2d) Bug: b:284110354 Test: manual test on DUT. Change-Id: I3775e2f0d42734cb2b6a0970fc5e3c3e0b0c3f04 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4569094 Reviewed-by: Eric Sum <esum@google.com> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1150909} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4582624 Cr-Commit-Position: refs/branch-heads/5790@{#283} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information