| commit | c597177aa98388d35ec278105fe0ad45ce2e4308 | [log] [tgz] |
|---|---|---|
| author | Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> | Wed Jul 02 16:38:28 2025 +0000 |
| committer | Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> | Wed Jul 02 11:07:12 2025 -0700 |
| tree | ad1fa1e01c60511c0ad03d7d493f0e826e128cff | |
| parent | ef2ca3a12d249006ffaa2d0611cfe383cd259e9b [diff] |
Store a copy of the motion event
Motion events that are recycled and then re-used can result in bad
behaviour (i.e crashes) if they are not initialised correctly - see
b/273963331. The guidance is to reinitialise these events before use to
ensure they are initialised correctly.
Flag: EXEMPT bug fix
Fixes: 423744011
Test: atest WMShellUnitTests:DragDetectorTest,
atest WMShellUnitTests:DragResizeInputListenerTest
Change-Id: I731af1ae311dfa6f8697655de19bd4151bc78241