[Chromecast] Send gestures to Root UI after several attempts
In some cases, the main gesture handler might permanently have priority,
and lower priority handlers (such as the root UI) will never receive a
gesture until that handler is removed. This change ensures that if a
user attempts multiple gestures in quick succession, that the root UI
will receive the gesture instead. This mitigates buggy gesture handling
logic and prevents the UI from being permanently stuck.
      then try to swipe several times in succession. Eventually the root
      UI should handle the swipe.
Bug: internal b/112338841
Test: Run an app which is permanently able to handle gesture events,
Change-Id: I741e041feba56b5e87ad8cb3ca5e1f564f48518b
Reviewed-on: https://chromium-review.googlesource.com/1199967
Commit-Queue: Sean Topping <seantopping@chromium.org>
Reviewed-by:  Luke Halliwell <halliwell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589002}
Luke Halliwell <halliwell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589002}
Showing
Please register or sign in to comment