Merge "Fix event handling on non-distinct multi touch device"

This commit is contained in:
Tadashi G. Takaoka 2011-07-11 19:07:22 -07:00 committed by Android (Google) Code Review
commit 1fa878339e

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;