cros: Fix homecher with docked magnifier in tablet mode
HomeLauncherGestureHandler used to send the work area's y position as the max y position of the AppListView in an attempt to modify the work area. AppListView already accounts for work area changes. This bug went unnoticed until HomeLauncherGestureHandler had to deal with the workspace being shrunk from the top via the DockedMagnifier. Now, send 0 instead of the work area y position to AppListView and let AppListView handle the work area change. Also translate based on the keyboard being shown/hidden to prevent search results from being pushed off screen with docked magnifier enabled. TEST=manually tested with multiple display configurations Bug: 936381 Change-Id: I4de62a0f239a72ba69256f5561c7bfb10035a870 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1504434 Commit-Queue: Alex Newcomer <newcomer@chromium.org> Reviewed-by:Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#638220}
Showing
Please register or sign in to comment