summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorTobrun <tobrun@mapbox.com>2017-03-08 09:39:20 -0800
committerGitHub <noreply@github.com>2017-03-08 09:39:20 -0800
commitffa78e2545d27d9ff4c79a6d80725318b834e074 (patch)
tree9e20e730167f1e4a66410ce27f63802f4eee8ca7 /platform
parent85f0eeff343933e93c74a12b13c31e6f3658e0a4 (diff)
downloadqtlocation-mapboxgl-ffa78e2545d27d9ff4c79a6d80725318b834e074.tar.gz
[android] - don't disable tracking when animation the camera bearing. (#8279)
Diffstat (limited to 'platform')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/TrackingSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/TrackingSettings.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/TrackingSettings.java
index 38f307f149..476f4554c1 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/TrackingSettings.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/TrackingSettings.java
@@ -281,7 +281,7 @@ public final class TrackingSettings {
*/
void resetTrackingModesIfRequired(CameraPosition cameraPosition) {
if (isDismissTrackingModesForCameraPositionChange()) {
- resetTrackingModesIfRequired(cameraPosition.target != null, cameraPosition.bearing != -1);
+ resetTrackingModesIfRequired(cameraPosition.target != null, false);
}
}