[Android] Fix a bug where the suggestion list can't scroll
After we placed omnibox suggestion list as a child of CompositorViewHolder, it no longer is able to scroll. The investigation of this regression gave interesting result: if an ACTION_MOVE is dispatched to a ListView or a ScrollView and the ViewGroup intercepts it, the framework will generate an ACTION_CANCEL to the ViewGroup's children. The behavior, however, will steal this cancel event and send to the ViewGroup again, causing scroll to fail. Thus we should specifically not catch ACTION_CANCEL in behavior. BUG=648136 Review-Url: https://codereview.chromium.org/2526673004 Cr-Commit-Position: refs/heads/master@{#434761}
Showing
Please register or sign in to comment