Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[android] Cherry pick fix sending more than once double tap event #10855

Merged
merged 1 commit into from
Jan 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,12 @@ public boolean onDoubleTapEvent(MotionEvent e) {
// Zoom in on gesture
transform.zoom(true, new PointF(e.getX(), e.getY()));
}
MapboxTelemetry.getInstance().pushEvent(MapboxEventWrapper.buildMapClickEvent(
getLocationFromGesture(e.getX(), e.getY()),
MapboxEvent.GESTURE_DOUBLETAP, transform));
break;
}

MapboxTelemetry.getInstance().pushEvent(MapboxEventWrapper.buildMapClickEvent(
getLocationFromGesture(e.getX(), e.getY()),
MapboxEvent.GESTURE_DOUBLETAP, transform));

return true;
}

Expand Down