Skip to content

Commit

Permalink
fix: try to fix Android for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Cipolleschi committed Sep 2, 2022
1 parent 55646dd commit 673143f
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,11 @@ private void onMove(
int activePointerId = motionEvent.getPointerId(actionIndex);
float x = motionEvent.getX();
float y = motionEvent.getY();
List<ViewTarget> lastHitPath =
mLastHitPathByPointerId.containsKey(activePointerId)
? mLastHitPathByPointerId.get(activePointerId)
: Collections.emptyList();
List<ViewTarget> lastHitPath = mLastHitPathByPointerId.get(activePointerId)

if (lastHitPath == null) {
lastHitPath = Collections.emptyList();
}

float[] lastEventCoordinates =
mLastEventCoodinatesByPointerId.containsKey(activePointerId)
Expand Down

0 comments on commit 673143f

Please sign in to comment.