diff options
author | Vladislav Kaznacheev <kaznacheev@google.com> | 2017-02-13 10:46:05 -0800 |
---|---|---|
committer | Vladislav Kaznacheev <kaznacheev@google.com> | 2017-02-13 10:46:05 -0800 |
commit | 75e5029e4659d4a286c89bc9bc1981cc196028e6 (patch) | |
tree | dbd3715d143c972c4881f819677d2154bae66c96 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d0e1022237305e374e34c9f7afcdff373d5f0290 (diff) |
Do not enter touch mode on non-touchscreen events
Currently ACTION_DOWN and ACTION_SCROLL cause
entering touch mode regardless of the event source.
This is especially awkward for mouse.
This should only happen when the event source is
SOURCE_TOUCHSCREEN.
Bug: 35314124
Test: android.cts.view.ViewTest#testTouchMode
Change-Id: I2205d4240be4afcbd9a3ac5558e701f7cac51926
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions