Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1b649502f8
2 changed files with 5 additions and 2 deletions
|
@ -345,6 +345,11 @@ public class RouteResultPreparation {
|
|||
ut = false;
|
||||
}
|
||||
}
|
||||
String highway = result.get(i).getObject().getHighway();
|
||||
if(highway == null || highway.endsWith("track") || highway.endsWith("services") || highway.endsWith("service")
|
||||
|| highway.endsWith("path")) {
|
||||
ut = false;
|
||||
}
|
||||
if (ut) {
|
||||
if (tl && TurnType.TL.equals(tnext.getValue())) {
|
||||
next = i + 2;
|
||||
|
|
|
@ -4,7 +4,6 @@ import static net.osmand.IndexConstants.BINARY_MAP_INDEX_EXT;
|
|||
import static net.osmand.IndexConstants.BINARY_SRTM_MAP_INDEX_EXT;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Field;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
@ -15,7 +14,6 @@ import net.osmand.AndroidUtils;
|
|||
import net.osmand.IndexConstants;
|
||||
import net.osmand.map.OsmandRegions;
|
||||
import net.osmand.plus.OsmandApplication;
|
||||
import net.osmand.plus.OsmandSettings;
|
||||
import net.osmand.plus.R;
|
||||
import net.osmand.plus.Version;
|
||||
import net.osmand.plus.helpers.FileNameTranslationHelper;
|
||||
|
|
Loading…
Reference in a new issue