Only cancel voice interactions on modality change.
Previously we cancelled any active interaction because we couldn't tell if the active interaction was from a voice or a text query. Now that AssistantQuery has been subclassed into AssistantTextQuery and AssistantVoiceQuery, we can tell if the current query is voice or text. Bug: b:79756284 Change-Id: I90f5599ac51c3aad72b029f4de7cd253387a5b6a Reviewed-on: https://chromium-review.googlesource.com/1060337Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#558865}
Showing
Please register or sign in to comment