[android] Revert vectorDrawables.useSupportLibrary to false in order to increase stability on Android 4.4 and below
This commit is contained in:
@@ -27,7 +27,6 @@ android {
|
||||
buildToolsVersion androidVersions.buildToolsVersion
|
||||
|
||||
defaultConfig {
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
minSdkVersion androidVersions.minSdkVersion
|
||||
targetSdkVersion androidVersions.targetSdkVersion
|
||||
buildConfigField "String", "GIT_REVISION_SHORT", String.format("\"%s\"", getGitRevision())
|
||||
|
||||
@@ -758,8 +758,6 @@ public final class LocationComponent {
|
||||
isInitialized = true;
|
||||
this.options = options;
|
||||
|
||||
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
|
||||
|
||||
mapboxMap.addOnMapClickListener(onMapClickListener);
|
||||
mapboxMap.addOnMapLongClickListener(onMapLongClickListener);
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
android:viewportHeight="36.0"
|
||||
android:viewportWidth="36.0">
|
||||
<path
|
||||
android:fillColor="@color/mapbox_location_layer_blue"
|
||||
android:fillColor="#4A90E2"
|
||||
android:pathData="M18,0L23,7L13,7L18,0ZM22.8,7C21.33,6.36 19.71,6 18,6C16.29,6 14.67,6.36 13.2,7L22.8,7Z"/>
|
||||
</vector>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
android:viewportHeight="14.0"
|
||||
android:viewportWidth="14.0">
|
||||
<path
|
||||
android:fillColor="@color/mapbox_location_layer_blue"
|
||||
android:fillColor="#4A90E2"
|
||||
android:pathData="M7,7m-7,0a7,7 0,1 1,14 0a7,7 0,1 1,-14 0"/>
|
||||
</vector>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
android:viewportHeight="14.0"
|
||||
android:viewportWidth="14.0">
|
||||
<path
|
||||
android:fillColor="@color/mapbox_location_layer_gray"
|
||||
android:fillColor="#A1B0C0"
|
||||
android:pathData="M7,7m-7,0a7,7 0,1 1,14 0a7,7 0,1 1,-14 0"/>
|
||||
</vector>
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M37.5,37.5m-28.5,0a28.5,28.5 0,1 1,57 0a28.5,28.5 0,1 1,-57 0"/>
|
||||
<path
|
||||
android:fillColor="@color/mapbox_location_layer_blue"
|
||||
android:fillColor="#4A90E2"
|
||||
android:pathData="M39.2,28.46C39.01,27.99 38.54,27.68 38.02,27.69C37.5,27.7 37.02,28.01 36.81,28.49L27.05,45.83C26.83,46.32 26.92,46.89 27.28,47.26C27.65,47.64 28.21,47.75 28.71,47.54L37.07,44.03C37.39,43.89 37.75,43.89 38.06,44.02L46.27,47.34C46.75,47.54 47.33,47.42 47.71,47.03C48.09,46.64 48.21,46.07 48,45.59L39.2,28.46Z"/>
|
||||
</vector>
|
||||
|
||||
@@ -11,9 +11,6 @@ android {
|
||||
versionCode 13
|
||||
versionName "6.0.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary true
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
Reference in New Issue
Block a user