bugfix issue 191

git-svn-id: https://osmand.googlecode.com/svn/trunk@704 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-11-24 23:10:12 +00:00
parent 808295339c
commit 473ae05c6d

View file

@ -196,7 +196,7 @@ public class RouteProvider {
minDist = d;
}
}
res = new RouteCalculationResult(gpxRoute.subList(startI, endI), null, start, end, null);
res = new RouteCalculationResult(new ArrayList<Location>(gpxRoute.subList(startI, endI)), null, start, end, null);
addMissingTurnsToRoute(res, start, end, mode, ctx);
} else if (type == RouteService.YOURS) {
res = findYOURSRoute(start, end, mode);