summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorJohan Rosengren <johan.rosengren@sonyericsson.com>2011-02-21 09:49:45 +0100
committerKenneth Andersson <kenneth.andersson@sonymobile.com>2012-08-23 13:46:14 +0200
commit0dc291eef630cbc3c4479fff8c549567ac980f87 (patch)
treebe631bedc38bee42f442a0007cc8507df9c3fae5 /rs/java/android/renderscript/ProgramFragment.java
parent9f7fa4c4177c405566445760ec7f4c27e812cd7f (diff)
Protecting more views from (bad) MotionEvents
When handling MotionEvents, the method findPointerIndex can return -1 if the current pointer id can't be translated to a pointer index. Some views are not handling this, which will lead to an out-of- index crash. In 2585e9b there were checks added, this change adds some more. Change-Id: I93ce2420afd83a06b689a1ed35ead7d170cd68f1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions