From 14b53da006f909fce21b4477d4532d11ad0d8c37 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 5 Nov 2016 00:09:24 +0100 Subject: [PATCH] fix build --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 2687cbb53c..5a078e8bbe 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -1057,11 +1057,11 @@ public class OsmandSettings { } // Please note that SAVE_TRACK_PRECISION, SAVE_TRACK_MIN_SPEED, SAVE_TRACK_MIN_DISTANCE should all be "0" for the default profile, as we have no interface to change them - public final CommonPreference SAVE_TRACK_PRECISION = new FloatPreference("save_track_precision", 0).makeProfile(); + public final CommonPreference SAVE_TRACK_PRECISION = new FloatPreference("save_track_precision", 0.f).makeProfile(); { -// SAVE_TRACK_PRECISION.setModeDefaultValue(ApplicationMode.CAR, 50); -// SAVE_TRACK_PRECISION.setModeDefaultValue(ApplicationMode.BICYCLE, 50); -// SAVE_TRACK_PRECISION.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 50); +// SAVE_TRACK_PRECISION.setModeDefaultValue(ApplicationMode.CAR, 50.f); +// SAVE_TRACK_PRECISION.setModeDefaultValue(ApplicationMode.BICYCLE, 50,f); +// SAVE_TRACK_PRECISION.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 50.f); } public final CommonPreference SAVE_TRACK_MIN_SPEED = new FloatPreference("save_track_min_speed", 0.f).makeProfile(); { @@ -1071,9 +1071,9 @@ public class OsmandSettings { } public final CommonPreference SAVE_TRACK_MIN_DISTANCE = new FloatPreference("save_track_min_distance", 0).makeProfile(); { - SAVE_TRACK_MIN_DISTANCE.setModeDefaultValue(ApplicationMode.CAR, 5); - SAVE_TRACK_MIN_DISTANCE.setModeDefaultValue(ApplicationMode.BICYCLE, 5); - SAVE_TRACK_MIN_DISTANCE.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 5); + SAVE_TRACK_MIN_DISTANCE.setModeDefaultValue(ApplicationMode.CAR, 5.f); + SAVE_TRACK_MIN_DISTANCE.setModeDefaultValue(ApplicationMode.BICYCLE, 5.f); + SAVE_TRACK_MIN_DISTANCE.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 5.f); } public final CommonPreference SHOW_TRIP_REC_NOTIFICATION = new BooleanPreference("show_trip_recording_notification", true).makeGlobal();