From d2d5b83d3d4d3dc08903c145979f4843be0ad353 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Sat, 31 Oct 2015 02:16:20 -0500 Subject: [PATCH] Fix hard coded radius --- src/googleplay/java/org/tasks/dialogs/LocationPickerDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/googleplay/java/org/tasks/dialogs/LocationPickerDialog.java b/src/googleplay/java/org/tasks/dialogs/LocationPickerDialog.java index 642db2a0b..21093baa8 100644 --- a/src/googleplay/java/org/tasks/dialogs/LocationPickerDialog.java +++ b/src/googleplay/java/org/tasks/dialogs/LocationPickerDialog.java @@ -111,7 +111,7 @@ public class LocationPickerDialog extends InjectingDialogFragment implements Goo if (places.getStatus().isSuccess()) { final Place place = places.get(0); LatLng latLng = place.getLatLng(); - Geofence geofence = new Geofence(place.getName().toString(), latLng.latitude, latLng.longitude, 150); + Geofence geofence = new Geofence(place.getName().toString(), latLng.latitude, latLng.longitude, activityPreferences.getIntegerFromString(R.string.p_geofence_radius, 250)); log.info("Picked {}", geofence); onLocationPickedHandler.onLocationPicked(geofence); dismiss();