fix build

This commit is contained in:
sonora 2012-01-29 17:15:56 +01:00
parent 38d575b8d7
commit 00f35bb8a7

View file

@ -1,6 +1,7 @@
package net.osmand.plus.routing; package net.osmand.plus.routing;
import net.osmand.plus.activities.ApplicationMode; import net.osmand.plus.activities.ApplicationMode;
import net.osmand.plus.OsmandSettings;
import net.osmand.plus.routing.RoutingHelper.RouteDirectionInfo; import net.osmand.plus.routing.RoutingHelper.RouteDirectionInfo;
import net.osmand.plus.routing.RoutingHelper.TurnType; import net.osmand.plus.routing.RoutingHelper.TurnType;
import net.osmand.plus.voice.AbstractPrologCommandPlayer; import net.osmand.plus.voice.AbstractPrologCommandPlayer;
@ -110,6 +111,7 @@ public class VoiceRouter {
} }
} }
private OsmandSettings settings;
private boolean isDistanceLess(float currentSpeed, double dist, double etalon){ private boolean isDistanceLess(float currentSpeed, double dist, double etalon){
if(dist < etalon || (dist / currentSpeed < etalon / DEFAULT_SPEED)){ if(dist < etalon || (dist / currentSpeed < etalon / DEFAULT_SPEED)){