cros: Avoid visible flash when the AppListView is refocused
We call ClearSearch when the AppListView gains focus in tablet mode. This is one of many things we do to reset the AppListView when the it (which is always open) is focused as the last open window is closed. The issue is that ClearSearch actually refreshes the suggestion chips (causing the visible flash). This refresh is unnecessary because the chips are already refreshed after an app is launched. Bug: 979594 Change-Id: I8baec08c78fc8c5439127427de62fddeddfb414c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690723 Commit-Queue: Alex Newcomer <newcomer@chromium.org> Reviewed-by:Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#676161}
Showing
Please register or sign in to comment