commit | 0dc291eef630cbc3c4479fff8c549567ac980f87 | [log] [tgz] |
---|---|---|
author | Johan Rosengren <johan.rosengren@sonyericsson.com> | Mon Feb 21 09:49:45 2011 +0100 |
committer | Kenneth Andersson <kenneth.andersson@sonymobile.com> | Thu Aug 23 13:46:14 2012 +0200 |
tree | be631bedc38bee42f442a0007cc8507df9c3fae5 | |
parent | 9f7fa4c4177c405566445760ec7f4c27e812cd7f [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