From 4c8b83f139b8fcdfdcaea6562a80bf828507410b Mon Sep 17 00:00:00 2001 From: vshcherb Date: Fri, 28 Feb 2014 11:37:22 +0200 Subject: [PATCH] Fix fast route mode (latest bug) --- OsmAnd/src/net/osmand/plus/routing/RouteProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java index 05c6d9feeb..a2f092f69e 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java @@ -405,7 +405,7 @@ public class RouteProvider { RoutingParameter pr = e.getValue(); String vl; if(key.equals(GeneralRouter.USE_SHORTEST_WAY)) { - Boolean bool = settings.FAST_ROUTE_MODE.getModeValue(params.mode); + Boolean bool = !settings.FAST_ROUTE_MODE.getModeValue(params.mode); vl = bool ? "true" : null; } else if(pr.getType() == RoutingParameterType.BOOLEAN) { CommonPreference pref = settings.getCustomRoutingBooleanProperty(key);