Reset Assistant query view when necessary.
When Assistant UI is closed, we need to reset the query view to empty as AssistantMainStage is not necessarily being destroyed. We also need to handle the case where an interaction is cancelled (e.g. if the user taps the mic partway through a dictation). In such situations, the query view should restore the previous committed query. Bug: b:128712891 Change-Id: I61c8e05496efd69739fbd60c60f947bccaad2807 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1526815Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#641692}
Showing
Please register or sign in to comment