summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2021-01-05 20:51:39 +0800
committerRyan Lin <ryanlwlin@google.com>2021-02-26 06:22:14 +0000
commit0c7aeef03dfb1ae933f9193fa5c654fe5d2a7f76 (patch)
tree9f0db7c52f8de260316fb064f1239d42b215aea3 /tools/aapt2/java/JavaClassGenerator.cpp
parent8ae6cd8c72c00b9f0a65b1a1b0fc9d6cf8efebae (diff)
Fix touchexploration multi-finger gesture conflict
WindowMagnificationGestureHandler has higher priority to address motion events. When the user put two fingers down on the screen, magnification gesture detector will intercept all motion events. It ends up the user couldn't perform any multi-finger gestures. To fix it, we make magnification gesture detection more accurate: 1. swiping gesture sucesses only with one finger. 2. Regarding two-finger gesture, only swipe or stay on the screen over a duration will be recognized. Bug: 163016948 Test: manually test: enable Talback and perform 3-finger swipe gesture atest com.android.server.accessibility.magnification Change-Id: I310cf6e3fb2cb2b5b6fbc6a0ba9f0aa1d219b4df (cherry picked from commit cb49d47bc6c30fb6c58fb3e7d077252fdd9641c1) Merged-In: I310cf6e3fb2cb2b5b6fbc6a0ba9f0aa1d219b4df
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions