Loading services/java/com/android/server/accessibility/TouchExplorer.java +2 −2 Original line number Diff line number Diff line Loading @@ -659,8 +659,8 @@ public class TouchExplorer implements Explorer { * @param policyFlags The policy flags associated with the event. */ private void sendActionDownAndUp(MotionEvent prototype, int policyFlags) { // Tap with the pointer that last went up - we may have inactive pointers. final int pointerId = mPointerTracker.getLastReceivedUpPointerId(); // Tap with the pointer that last explored - we may have inactive pointers. final int pointerId = prototype.getPointerId(prototype.getActionIndex()); final int pointerIdBits = (1 << pointerId); sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags); sendMotionEvent(prototype, MotionEvent.ACTION_UP, pointerIdBits, policyFlags); Loading Loading
services/java/com/android/server/accessibility/TouchExplorer.java +2 −2 Original line number Diff line number Diff line Loading @@ -659,8 +659,8 @@ public class TouchExplorer implements Explorer { * @param policyFlags The policy flags associated with the event. */ private void sendActionDownAndUp(MotionEvent prototype, int policyFlags) { // Tap with the pointer that last went up - we may have inactive pointers. final int pointerId = mPointerTracker.getLastReceivedUpPointerId(); // Tap with the pointer that last explored - we may have inactive pointers. final int pointerId = prototype.getPointerId(prototype.getActionIndex()); final int pointerIdBits = (1 << pointerId); sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags); sendMotionEvent(prototype, MotionEvent.ACTION_UP, pointerIdBits, policyFlags); Loading