Fix window focus issue in AppList w/ regards to Assistant.
Symptom: In tablet mode, clicking into the embedded web content that hosts Assistant Settings would cause a change in window focus. This change in window focus resulted in a change in AppList state back to kStateApps, making Assistant Settings unusable. The call to modify AppList state originated here: https://cs.chromium.org/chromium/src/ash/app_list/app_list_presenter_impl.cc?type=cs&q=applistpresenterimp&g=0&l=454 Solution: Resetting of AppList state occurred because AppList visibility incorrectly thought it was not visibility when showing Assistant. Now, visibility is updated when changing AppList states such that when Assistant is visible, AppList is rightly considered visible as well. Bug: b:144056527 Change-Id: I2613758d131c6621df5f61bdd66106399b8d7d9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903901 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#715363}
Showing
Please register or sign in to comment