diff --git a/OsmAnd/src/net/osmand/plus/OsmandApplication.java b/OsmAnd/src/net/osmand/plus/OsmandApplication.java index 8520c9e12c..1ce8af4f6f 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandApplication.java +++ b/OsmAnd/src/net/osmand/plus/OsmandApplication.java @@ -850,10 +850,8 @@ public class OsmandApplication extends Application { final Intent serviceIntent = new Intent(this, NavigationService.class); serviceIntent.putExtra(NavigationService.USAGE_INTENT, intent); if (getNavigationService() == null) { - if (intent == NavigationService.USED_BY_GPX) { - //Use pre-selected SERVICE_OFF_INTERVAL for global GPX recording - getSettings().SERVICE_OFF_INTERVAL.set(); - } else { + if (intent != NavigationService.USED_BY_GPX) { + //Use pre-selected SERVICE_OFF_INTERVAL for global GPX recording getSettings().SERVICE_OFF_INTERVAL.set(0); } startService(serviceIntent);