bug: 3364217
Change-Id: If6a2514a8feac509d7b6716c8574521a0ec0fa3e
main
Ken Wakasa 2011-01-19 17:44:51 +09:00
parent 08ca36d038
commit 86f189fd96
1 changed files with 2 additions and 2 deletions

View File

@ -205,10 +205,10 @@ public class LatinKeyboardView extends KeyboardView {
@Override @Override
public boolean onTouchEvent(MotionEvent me) { public boolean onTouchEvent(MotionEvent me) {
LatinKeyboard keyboard = getLatinKeyboard(); LatinKeyboard keyboard = getLatinKeyboard();
if (keyboard == null) return true;
// If there was a sudden jump, return without processing the actual motion event. // If there was a sudden jump, return without processing the actual motion event.
if (handleSuddenJump(me)) if (handleSuddenJump(me)) return true;
return true;
// Reset any bounding box controls in the keyboard // Reset any bounding box controls in the keyboard
if (me.getAction() == MotionEvent.ACTION_DOWN) { if (me.getAction() == MotionEvent.ACTION_DOWN) {