try fix issue with orphaned log2GPX setting from old builds in Browse map mode

This commit is contained in:
sonora 2014-08-23 18:47:37 +02:00
parent f00be495e9
commit eb5e2b7efc

View file

@ -796,7 +796,7 @@ public class OsmandSettings {
// this value string is synchronized with settings_pref.xml preference name
public final CommonPreference<Boolean> SAVE_TRACK_TO_GPX = new BooleanPreference("save_track_to_gpx", false).makeProfile().cache();
{
SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.DEFAULT, false);
SAVE_TRACK_TO_GPX.setModeValue(ApplicationMode.DEFAULT, false);
SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.CAR, false);
SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.BICYCLE, false);
SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.PEDESTRIAN, false);