summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-03-29 13:17:55 +0100
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-07-31 12:12:22 +0300
commit45e5e6341e9b07f37ca3ee2101277b912a5c6a44 (patch)
tree49e5c92c20b28f1630466c399315be4a680d506d /platform
parent4237fca318fb979e38c9a65fcbb757bc005c863d (diff)
downloadqtlocation-mapboxgl-45e5e6341e9b07f37ca3ee2101277b912a5c6a44.tar.gz
[android] do not include CJK ideographs in the offline packs by default
Diffstat (limited to 'platform')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineGeometryRegionDefinition.java2
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineTilePyramidRegionDefinition.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineGeometryRegionDefinition.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineGeometryRegionDefinition.java
index 7878460888..113404dbc9 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineGeometryRegionDefinition.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineGeometryRegionDefinition.java
@@ -51,7 +51,7 @@ public class OfflineGeometryRegionDefinition implements OfflineRegionDefinition
@Keep
public OfflineGeometryRegionDefinition(
String styleURL, Geometry geometry, double minZoom, double maxZoom, float pixelRatio) {
- this(styleURL, geometry, minZoom, maxZoom, pixelRatio, true);
+ this(styleURL, geometry, minZoom, maxZoom, pixelRatio, false);
}
/**
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineTilePyramidRegionDefinition.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineTilePyramidRegionDefinition.java
index db2704650a..ed7203eb6a 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineTilePyramidRegionDefinition.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineTilePyramidRegionDefinition.java
@@ -48,7 +48,7 @@ public class OfflineTilePyramidRegionDefinition implements OfflineRegionDefiniti
@Keep
public OfflineTilePyramidRegionDefinition(
String styleURL, LatLngBounds bounds, double minZoom, double maxZoom, float pixelRatio) {
- this(styleURL, bounds, minZoom, maxZoom, pixelRatio, true);
+ this(styleURL, bounds, minZoom, maxZoom, pixelRatio, false);
}
/**