fix route provider settings

This commit is contained in:
sonora 2013-05-29 08:52:34 +02:00
parent de4671595d
commit d79d8377c7

View file

@ -648,7 +648,7 @@ public class OsmandSettings {
// this value string is synchronized with settings_pref.xml preference name // this value string is synchronized with settings_pref.xml preference name
public final OsmandPreference<RouteService> ROUTER_SERVICE = public final OsmandPreference<RouteService> ROUTER_SERVICE =
new EnumIntPreference<RouteService>("router_service", RouteService.OSMAND, new EnumIntPreference<RouteService>("router_service", RouteService.OSMAND,
new RouteService[] {RouteService.OSMAND, RouteService.ORS, RouteService.YOURS}).makeProfile(); new RouteService[] {RouteService.OSMAND, RouteService.YOURS, RouteService.ORS}).makeProfile();
public final CommonPreference<Boolean> SNAP_TO_ROAD = new BooleanPreference("snap_to_road", false).makeProfile().cache(); public final CommonPreference<Boolean> SNAP_TO_ROAD = new BooleanPreference("snap_to_road", false).makeProfile().cache();
{ {