diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-06-08 16:40:01 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-06-08 16:40:01 -0700 |
commit | 076f17375b9530d40767b990016a83a9fcd18bf2 (patch) | |
tree | dca49bd7b16f1dc548716a182a2a029a12218f0d /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5ebf04cce420ca8f32270245189c4d71f28cfd27 (diff) |
Remove edge slop handling from ScaleGestureDetector.
The edge slop code could violate invariants of ScaleGestureDetector,
such as the assumption that if an ACTION_POINTER_DOWN is observed
or if getPointerCount() >= 2, then there must be at least two
active pointers to choose from. But due to the edge slop handling,
it was possible for findNewActiveIndex to return -1 in this
case, resulting in a crash.
Bug: 6613154
Change-Id: I4e08e38a49ab27dac1be9484e19de086bc43624a
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions