diff --git a/enabler/src/main/AndroidManifest.xml b/enabler/src/main/AndroidManifest.xml index 8cd5a52cb..9e1514fa4 100644 --- a/enabler/src/main/AndroidManifest.xml +++ b/enabler/src/main/AndroidManifest.xml @@ -23,6 +23,7 @@ android:name="com.openxc.enabler.OpenXCApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" + android:requestLegacyExternalStorage="true" android:label="@string/app_name" android:theme="@android:style/Theme.Holo"> diff --git a/library/src/main/java/com/openxc/VehicleLocationProvider.java b/library/src/main/java/com/openxc/VehicleLocationProvider.java index 19af0253c..460dd821c 100644 --- a/library/src/main/java/com/openxc/VehicleLocationProvider.java +++ b/library/src/main/java/com/openxc/VehicleLocationProvider.java @@ -201,7 +201,7 @@ private void setupMockLocations() { if(mLocationManager.getProvider( VEHICLE_LOCATION_PROVIDER) == null) { mLocationManager.addTestProvider(VEHICLE_LOCATION_PROVIDER, - false, false, false, false, false, true, false, 0, 5); + false, false, false, false, false, true, false, 1, 2); } mLocationManager.setTestProviderEnabled( VEHICLE_LOCATION_PROVIDER, true);