diff --git a/OsmAnd-java/src/net/osmand/Location.java b/OsmAnd-java/src/net/osmand/Location.java index 2b0a76b13d..0845ad4430 100644 --- a/OsmAnd-java/src/net/osmand/Location.java +++ b/OsmAnd-java/src/net/osmand/Location.java @@ -210,7 +210,7 @@ public class Location { } } // TODO leave only for 4.2.1 !!! - results[0] = (MapUtils.getDistance(lat1, lon1, lat2, lon2)); + results[0] = (net.osmand.util.MapUtils.getDistance(lat1, lon1, lat2, lon2)); } /**