• David Black's avatar
    Inverts interaction and UI start logic. · 4703d7bd
    David Black authored
    Previously, an interaction was started and this triggered UI to show.
    Now, the UI is shown/hidden as desired and, depending on the entry
    point, this will start an interaction as necessary.
    
    This is important because we have the need to launch Assistant UI
    without an interaction. This will occur when linking into Assistant
    Settings, Reminders, etc.
    
    Unit tests to follow in b/77656544.
    
    Bug: b:80542452
    Change-Id: I6de066b3a9ed86590b1fc467b4baa36f02833c66
    Reviewed-on: https://chromium-review.googlesource.com/1106597Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
    Commit-Queue: David Black <dmblack@google.com>
    Cr-Commit-Position: refs/heads/master@{#569465}
    4703d7bd
accelerator_controller.cc 62.7 KB