Skip to content
Commit 01b729f2 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

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
parent 35ebe91e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment