* commit '0295233ec724c7d97ac25fa832e175bdbebf36f7': Exception in the touch explorer when dragging.
This commit is contained in:
@@ -645,7 +645,9 @@ class TouchExplorer implements EventStreamTransformation {
|
|||||||
// We are in dragging state so we have two pointers and another one
|
// We are in dragging state so we have two pointers and another one
|
||||||
// goes down => delegate the three pointers to the view hierarchy
|
// goes down => delegate the three pointers to the view hierarchy
|
||||||
mCurrentState = STATE_DELEGATING;
|
mCurrentState = STATE_DELEGATING;
|
||||||
sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags);
|
if (mDraggingPointerId != INVALID_POINTER_ID) {
|
||||||
|
sendMotionEvent(event, MotionEvent.ACTION_UP, pointerIdBits, policyFlags);
|
||||||
|
}
|
||||||
sendDownForAllActiveNotInjectedPointers(event, policyFlags);
|
sendDownForAllActiveNotInjectedPointers(event, policyFlags);
|
||||||
} break;
|
} break;
|
||||||
case MotionEvent.ACTION_MOVE: {
|
case MotionEvent.ACTION_MOVE: {
|
||||||
|
|||||||
Reference in New Issue
Block a user