Fix crash in Assistant that occurs on LibAssistant error.
We expect the lifecycle of a query to be: - Pend: occurs on interaction start - Commit: occurs on query finalize - Activate: occurs on query response received When LibAssistant error'd out, due to connectivity loss for example, the order of events delivered caused us to miss stages in the query lifecycle. Now, we will maintain the expected lifecycle and show an error message to the user when this occcurs. Bug: b:112600782, b:112056476 Change-Id: Ib01860564d88326110db285e09d15470bed58598 Reviewed-on: https://chromium-review.googlesource.com/1176976 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by:
Oliver Chang <ochang@chromium.org> Cr-Commit-Position: refs/heads/master@{#584490}
Showing
Please register or sign in to comment