Skip sudden jump detection on distinct multitouch device
Bug: 3400448 Change-Id: I37150d624b73ed089875a905fe04c5b8b3ecfa0amain
parent
ea55bf5df7
commit
9a5b592b27
|
@ -141,6 +141,9 @@ public class LatinKeyboardView extends KeyboardView {
|
|||
* 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();
|
||||
|
|
Loading…
Reference in New Issue