commit | bc423039676ed9d5255151489e27a054e8ed6899 | [log] [tgz] |
---|---|---|
author | Stefan Li <stefan.li@sonyericsson.com> | Fri Nov 12 15:53:41 2010 +0100 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Fri Nov 12 15:53:41 2010 +0100 |
tree | 0b479c731c3c3cce857c0bd3ce70e3646394abe9 | |
parent | 35e79e32808456a7f5f21126ed2fa7badf8dc0bc [diff] |
Fix for a Launcher crash. A forced close will occur in Launcher homescreen if you are holding the edge portion of the touch screen and slide close or open the touch screen. This is caused by the display changing configurations but the touch events are passed through the framework. So the coordinates will be wrong which causes a out of bounds exception. Added a bounds check for the pointer index on ACTION_UP. Change-Id: I67d7e428f55694969d43948c37b6acda2a5c6eb6