diff options
| author | 2024-04-03 19:28:13 +0000 | |
|---|---|---|
| committer | 2024-04-05 21:52:33 +0000 | |
| commit | 5722b0f7bece1e63029dccc7dda23a5de59d8525 (patch) | |
| tree | 8dba89bffa75cc1f004aaa21c7a185b081a35d45 /libs/androidfw/StringPool.cpp | |
| parent | 047b57f935dbf8742755d061fc50a2957e57131b (diff) | |
MotionEvent: Add precondition checking to split()
Throw an IllegalArgumentException if there are no pointers in idBits
that match the event, instead of crashing.
Bug: 332191876
Test: atest MotionEventTest
Change-Id: Id7c4c1cf6fcb7094f634a74eaad2dab11ca47374
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions