Update start immediately navigation
This commit is contained in:
parent
14cc9bd1b4
commit
4eb397f25e
1 changed files with 9 additions and 1 deletions
|
@ -754,7 +754,15 @@ public class OsmandSettings {
|
|||
AUTO_ZOOM_MAP.setModeDefaultValue(ApplicationMode.PEDESTRIAN, AutoZoomMap.NONE);
|
||||
}
|
||||
|
||||
public final CommonPreference<Integer> DELAY_TO_START_NAVIGATION = new IntPreference("delay_to_start_navigation", 10).makeGlobal().cache();
|
||||
public final CommonPreference<Integer> DELAY_TO_START_NAVIGATION = new IntPreference("delay_to_start_navigation", -1) {
|
||||
|
||||
protected Integer getDefaultValue() {
|
||||
if(DEFAULT_APPLICATION_MODE.get().isDerivedRoutingFrom(ApplicationMode.CAR)) {
|
||||
return 10;
|
||||
}
|
||||
return -1;
|
||||
};
|
||||
}.makeGlobal().cache();
|
||||
|
||||
public final CommonPreference<Boolean> SNAP_TO_ROAD = new BooleanPreference("snap_to_road", false).makeProfile().cache();
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue