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

Commit 5cd88cfd authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 2757693 - Multi-touch coordinates can jump when a finger goes down.

Change-Id: I26bd54cec739ca8d91d2c2b18b90134f20dbd907
parent 75b6a6b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -671,6 +671,8 @@ public class InputDevice {
                        System.arraycopy(lastData, i*MotionEvent.NUM_SAMPLE_DATA,
                                lastData, (i+1)*MotionEvent.NUM_SAMPLE_DATA,
                                (lastNumPointers-i)*MotionEvent.NUM_SAMPLE_DATA);
                        System.arraycopy(next2Last, i, next2Last,
                                i+1, lastNumPointers-i);
                        break;
                    }
                    i++;