• David Black's avatar
    Hide Assistant UI on deactivation. · 61ee8f21
    David Black authored
    Previously we hid Assistant on widget deactivation. Then we removed
    that logic to instead use an event handler that dismissed Assistant on
    press.
    
    We actually need both since Assistant widget can be deactivated w/o a
    press event, such as happens when opening feedback via Alt+Shift+i.
    
    Bug: b:117990949
    Change-Id: I75338ef112f5cef3445bf88903adaef2ccd56c48
    Reviewed-on: https://chromium-review.googlesource.com/c/1292604Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
    Commit-Queue: David Black <dmblack@google.com>
    Cr-Commit-Position: refs/heads/master@{#601372}
    61ee8f21
assistant_ui_controller.cc 18.2 KB