Fix event handling on non-distinct multi touch device

This bug has been introduced by Idfbc9706.

Bug: 4768084
Change-Id: If9e2a2d3ed1f6b4e6209c883e6fcca52286ede3f
This commit is contained in:
Tadashi G. Takaoka 2011-07-11 17:03:12 -07:00
parent 08eea95650
commit 04dec7f84d

View file

@ -605,6 +605,9 @@ public class LatinKeyboardBaseView extends KeyboardView implements PointerTracke
case MotionEvent.ACTION_POINTER_UP: case MotionEvent.ACTION_POINTER_UP:
tracker.onUpEvent(x, y, eventTime); tracker.onUpEvent(x, y, eventTime);
break; break;
case MotionEvent.ACTION_MOVE:
tracker.onMoveEvent(x, y, eventTime);
break;
case MotionEvent.ACTION_CANCEL: case MotionEvent.ACTION_CANCEL:
tracker.onCancelEvent(x, y, eventTime); tracker.onCancelEvent(x, y, eventTime);
break; break;