• David Black's avatar
    Move query commit logic. · e09f6711
    David Black authored
    Now that we have indication in the OnInteractionStarted event if we
    are handling a voice interaction or not, we can move the commit
    logic in the case of a non-voice interaction.
    
    Doing so allows us to properly clear the stage whenever a new
    interaction is started. This fixes a bug in which notifications
    failed to clear the stage.
    
    Bug: 111396118
    Change-Id: I288ee685f9e8fa8c385c0dbb0896c03838c53a4e
    Reviewed-on: https://chromium-review.googlesource.com/1144429Reviewed-by: default avatarTao Wu <wutao@chromium.org>
    Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
    Commit-Queue: David Black <dmblack@google.com>
    Cr-Commit-Position: refs/heads/master@{#576744}
    e09f6711
assistant_ui_controller.cc 8.88 KB