summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-01-17 14:01:29 +0100
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-01-22 13:07:11 +0100
commit2639d3b31db2313e525b137b48072935671ab136 (patch)
tree2f800320d2684aa0b12d3b99aea89f859dcf17b6
parent99e35f0c6e995c5d39ea96e779659e3b31f9e5e2 (diff)
downloadqtlocation-mapboxgl-2639d3b31db2313e525b137b48072935671ab136.tar.gz
[android] import gestures dimens using the correct package structure
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
index d981a62787..852b3e8a4d 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
@@ -118,7 +118,8 @@ final class MapGestureDetector {
RotateGestureListener rotateGestureListener = new RotateGestureListener(
context.getResources().getDimension(R.dimen.mapbox_minimum_scale_span_when_rotating),
context.getResources().getDimension(R.dimen.mapbox_minimum_angular_velocity),
- context.getResources().getDimension(R.dimen.mapbox_defaultScaleSpanSinceStartThreshold));
+ context.getResources().getDimension(
+ com.mapbox.android.gestures.R.dimen.mapbox_defaultScaleSpanSinceStartThreshold));
ShoveGestureListener shoveGestureListener = new ShoveGestureListener();
TapGestureListener tapGestureListener = new TapGestureListener();