From 4c09ec2ce26143a2f01cc540cedbb8dd803a1c8b Mon Sep 17 00:00:00 2001 From: vshcherb Date: Sun, 30 Mar 2014 23:31:12 +0200 Subject: [PATCH] Show turn info in simulation --- OsmAnd/src/net/osmand/plus/OsmAndLocationProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/OsmAndLocationProvider.java b/OsmAnd/src/net/osmand/plus/OsmAndLocationProvider.java index 701531799a..09b7699562 100644 --- a/OsmAnd/src/net/osmand/plus/OsmAndLocationProvider.java +++ b/OsmAnd/src/net/osmand/plus/OsmAndLocationProvider.java @@ -750,6 +750,8 @@ public class OsmAndLocationProvider implements SensorEventListener { } } else if(routingHelper.isRoutePlanningMode() && settings.getPointToStart() == null) { routingHelper.setCurrentLocation(location, false); + } else if(getLocationSimulation().isRouteAnimating()) { + routingHelper.setCurrentLocation(location, false); } this.location = updatedLocation;