Inverts interaction and UI start logic.
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: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@{#569465}
Showing
This diff is collapsed.
Please register or sign in to comment