fix build
This commit is contained in:
parent
38d575b8d7
commit
00f35bb8a7
1 changed files with 2 additions and 0 deletions
|
@ -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)){
|
||||||
|
|
Loading…
Reference in a new issue