Fix the crash issue when scrolling the shelf by gesture
There is a loophole in scrollable shelf's code: if the incoming gesture event is not handled by neither scrollable shelf nor shelf view, the scroll status is not reset. Because resetting the scroll status relies on the gesture end event while the scrollable shelf view will not receive the gesture end event if it is not the correct event handler. This CL fixes such an issue. Bug: 1012888 Change-Id: I98927dd068b6dd75008936eb8bee9f5249091f56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1882560Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#709965}
Showing
Please register or sign in to comment