diff options
| author | 2024-08-16 16:53:42 +0000 | |
|---|---|---|
| committer | 2024-08-23 19:25:21 +0000 | |
| commit | 714ff20089ebc9c363f05b54af82d16a2668ea1d (patch) | |
| tree | 86577809405d231bef3db7431ad1ee3809afd08b /libs/androidfw/StringPool.cpp | |
| parent | 7f292d9658a639489b9c0eef4e92c84fa8592a82 (diff) | |
ViewGroup: Split ACTION_CANCEL events during dispatch
Cancel events were previously not split while being dispatched to
children. This means cancel events can be inconsistent with the rest of
the split gesture stream, since the number of pointers and the down time
of the event can change after the event is split.
To keep the stream consistent, always split cancel events when
disptching events to children. We also ensure that we don't drop
cancel events during dispatch.
Bug: 327503168
Test: Unit tests added in follow-up CLs
Flag: EXEMPT bug fix
Change-Id: I7a72506a2b8e70f90efd9ba2e2ec0d12b7fb098d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions