diff options
author | Siarhei Vishniakou <svv@google.com> | 2018-02-16 17:27:22 -0600 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2018-02-16 17:43:20 -0600 |
commit | 01b729f2b45884836edb7627723b56ff692e05c3 (patch) | |
tree | 9b12f6acd82c455a992ac643933c546b21ab7575 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 35ebe91ed5a140fdb23b3f6ed5721e95677dfc9d (diff) |
Allow TouchDelegate to forward non-primary pointer
Currently, TouchDelegate can be used to receive the primary pointer
events with actions ACTION_DOWN, ACTION_UP, and ACTION_MOVE. While
ACTION_MOVE will contain the data for all active pointers (not just
primary), currently TouchDelegate will not forward ACTION_POINTER_DOWN
and ACTION_POINTER_UP events.
This change modifies TouchDelegate behaviour to also forward the
non-primary pointer DOWN and UP events to the target view.
Bug: 37060799
Test: atest cts.TouchDelegateTest
Change-Id: Ieb457c9e15058302cb26d9d4a83f958bbec8dbc0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions