summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-07-25 12:28:04 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-07-25 13:48:36 +0200
commit433d3fb29894a762e0992366f7e09d7d92ba77b6 (patch)
treee6f777d444a6ac4c613e569eeff11a0bcfc04f01 /platform/android
parent0051fcdbb85b2a02751c62d1c76ee1518a967bcb (diff)
downloadqtlocation-mapboxgl-433d3fb29894a762e0992366f7e09d7d92ba77b6.tar.gz
[android] align gesture animation reason
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java5
1 files changed, 2 insertions, 3 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 eba87de0b2..74a864a6a1 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
@@ -31,7 +31,6 @@ import java.util.Set;
import java.util.concurrent.CopyOnWriteArrayList;
import static com.mapbox.mapboxsdk.constants.MapboxConstants.ZOOM_RATE;
-import static com.mapbox.mapboxsdk.maps.MapboxMap.OnCameraMoveStartedListener.REASON_API_ANIMATION;
import static com.mapbox.mapboxsdk.maps.MapboxMap.OnCameraMoveStartedListener.REASON_API_GESTURE;
/**
@@ -714,7 +713,7 @@ final class MapGestureDetector {
@Override
public void onAnimationStart(Animator animation) {
transform.cancelTransitions();
- cameraChangeDispatcher.onCameraMoveStarted(REASON_API_ANIMATION);
+ cameraChangeDispatcher.onCameraMoveStarted(REASON_API_GESTURE);
}
@Override
@@ -823,7 +822,7 @@ final class MapGestureDetector {
@Override
public void onAnimationStart(Animator animation) {
transform.cancelTransitions();
- cameraChangeDispatcher.onCameraMoveStarted(REASON_API_ANIMATION);
+ cameraChangeDispatcher.onCameraMoveStarted(REASON_API_GESTURE);
}
@Override