Fix IOOB exception in ViewDragHelper

If findPointerIndex returns -1, ignore the motion event. The
equivalent fix is done for other handlers of motion events as well.

Bug: 18186775

Change-Id: Ia7548335eeb84310510260381a8bcedf6556aa40
1 file changed
tree: 2e0a9b217453e479accae7576c9d76635c0ab380
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.flags