Fix compilation

This commit is contained in:
Vitaliy 2021-03-01 11:55:27 +02:00
parent 0bc9c0cb48
commit e5e77effac

View file

@ -458,7 +458,7 @@ public class RoutingOptionsHelper {
public List<LocalRoutingParameter> getOsmandRouterParameters(ApplicationMode am) { public List<LocalRoutingParameter> getOsmandRouterParameters(ApplicationMode am) {
OsmandSettings settings = app.getSettings(); OsmandSettings settings = app.getSettings();
List<LocalRoutingParameter> list = new ArrayList<LocalRoutingParameter>(); List<LocalRoutingParameter> list = new ArrayList<LocalRoutingParameter>();
boolean osmandRouter = am.getRouteService() == RouteProvider.RouteService.OSMAND; boolean osmandRouter = am.getRouteService() == RouteService.OSMAND;
if (!osmandRouter) { if (!osmandRouter) {
list.add(new OtherLocalRoutingParameter(R.string.calculate_osmand_route_without_internet, list.add(new OtherLocalRoutingParameter(R.string.calculate_osmand_route_without_internet,
app.getString(R.string.calculate_osmand_route_without_internet), settings.GPX_ROUTE_CALC_OSMAND_PARTS.get())); app.getString(R.string.calculate_osmand_route_without_internet), settings.GPX_ROUTE_CALC_OSMAND_PARTS.get()));