Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdb22258 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Skip sudden jump detection on distinct multitouch device"

parents f5cf266a 9a5b592b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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();