|
|
|
@ -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();
|
|
|
|
|