commit | 9a5b592b27158b6fb8b7a89157bb995b182899d8 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Fri Feb 04 14:28:29 2011 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Fri Feb 04 15:49:11 2011 +0900 |
tree | e40e350ac6809f354b898909dac47d3a5ec6b51d | |
parent | ea55bf5df7d26d12b36c47141bfbac5730c3929a [diff] |
Skip sudden jump detection on distinct multitouch device Bug: 3400448 Change-Id: I37150d624b73ed089875a905fe04c5b8b3ecfa0a
diff --git a/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java b/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java index af2fd5c..e7246dd 100644 --- a/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java
@@ -141,6 +141,9 @@ * KeyboardView. */ private boolean handleSuddenJump(MotionEvent me) { + // If device has distinct multi touch panel, there is no need to check sudden jump. + if (hasDistinctMultitouch()) + return false; final int action = me.getAction(); final int x = (int) me.getX(); final int y = (int) me.getY();