diff options
author | Jackal Guo <jackalguo@google.com> | 2019-05-22 16:31:32 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2019-06-03 11:28:10 +0800 |
commit | 4a318ed2e84b47e3125f0db60a8fa36eab72597f (patch) | |
tree | 70178495c1edb1f923e25bef23adb55e92c1f770 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b178d3b8a26d2f95dc3f60501d7f7f39b9706bf4 (diff) |
Adjust down time to prevent subsequent modules being misleading
MagnificationGestureHandler cache some events to see if users want to
trigger magnification. If no magnification is triggered we inject the
events with original down time. This causes the subsequent modules,
like GestureDetector, be misleading. For example, injecting a cached
ACTION_DOWN event may mistrigger a long click if the down time of the
event is long enough ago.
Bug: 131815497
Test: a11y CTS & unit tests
Change-Id: I19508e8ef7c91af02cdc628463d5715f6de22cd3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions