Avoid resetting app list state when bounds shouldn't change
When on screen keyboard state changes, AppListView was calling SetState to ensure the current bounds match the current state. This does more work than necessary - for example closes the active folder if it exists, and it should be avoided if possible. This changes the logic to reset the state only if the target bounds change. BUG=1020754 Change-Id: I8a393b5d88a37cee8f5369c68492304589c45274 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896304Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#712168}
Showing
Please register or sign in to comment