diff --git a/OsmAnd/src/net/osmand/plus/OnNavigationServiceAlarmReceiver.java b/OsmAnd/src/net/osmand/plus/OnNavigationServiceAlarmReceiver.java index 4240adc73c..ece000af8c 100644 --- a/OsmAnd/src/net/osmand/plus/OnNavigationServiceAlarmReceiver.java +++ b/OsmAnd/src/net/osmand/plus/OnNavigationServiceAlarmReceiver.java @@ -7,7 +7,7 @@ import android.location.LocationManager; import android.os.PowerManager.WakeLock; public class OnNavigationServiceAlarmReceiver extends BroadcastReceiver { - @Override + @Override public void onReceive(Context context, Intent intent) { final WakeLock lock = NavigationService.getLock(context); final NavigationService service = ((OsmandApplication) context.getApplicationContext()).getNavigationService(); @@ -38,4 +38,4 @@ public class OnNavigationServiceAlarmReceiver extends BroadcastReceiver { } } - } \ No newline at end of file +} \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 0b7f387a4a..0ac59980ba 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -1130,7 +1130,7 @@ public class OsmandSettings { { SAVE_TRACK_INTERVAL.setModeDefaultValue(ApplicationMode.CAR, 3000); - SAVE_TRACK_INTERVAL.setModeDefaultValue(ApplicationMode.BICYCLE, 7000); + SAVE_TRACK_INTERVAL.setModeDefaultValue(ApplicationMode.BICYCLE, 5000); SAVE_TRACK_INTERVAL.setModeDefaultValue(ApplicationMode.PEDESTRIAN, 10000); } diff --git a/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java b/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java index 42c9ebd0c1..696171f80c 100644 --- a/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java +++ b/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java @@ -387,7 +387,7 @@ public class OsmandMonitoringPlugin extends OsmandPlugin { settings.SAVE_GLOBAL_TRACK_TO_GPX.set(true); settings.SAVE_GLOBAL_TRACK_REMEMBER.set(choice.value); int interval = settings.SAVE_GLOBAL_TRACK_INTERVAL.get(); - app.startNavigationService(NavigationService.USED_BY_GPX, interval < 30000? 0 : interval); + app.startNavigationService(NavigationService.USED_BY_GPX, interval < 30000 ? 0 : interval); } }; if (choice.value || map == null) {