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
2 files changed