Disable auto follow by default and for pedestrian profile

This commit is contained in:
Victor Shcherb 2012-10-10 22:27:14 +02:00
parent cde214a42e
commit dbde3b653b

View file

@ -675,11 +675,11 @@ public class OsmandSettings {
// this value string is synchronized with settings_pref.xml preference name
// seconds to auto_follow
public final CommonPreference<Integer> AUTO_FOLLOW_ROUTE = new IntPreference("auto_follow_route", 30).makeProfile();
public final CommonPreference<Integer> AUTO_FOLLOW_ROUTE = new IntPreference("auto_follow_route", 0).makeProfile();
{
AUTO_FOLLOW_ROUTE.setModeDefaultValue(ApplicationMode.CAR, 15);
AUTO_FOLLOW_ROUTE.setModeDefaultValue(ApplicationMode.BICYCLE, 15);
AUTO_FOLLOW_ROUTE.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 30);
AUTO_FOLLOW_ROUTE.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 0);
}
// this value string is synchronized with settings_pref.xml preference name