From 2ab6ae84b03606c1c14d88b71a49d6cb2727bfa5 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 11 Jun 2012 15:38:34 +0200 Subject: [PATCH] display tracking settings in global section --- .../osmand/plus/monitoring/OsmandMonitoringPlugin.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java b/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java index dc18cd96b1..3eb80f5d6b 100644 --- a/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java +++ b/OsmAnd/src/net/osmand/plus/monitoring/OsmandMonitoringPlugin.java @@ -34,9 +34,9 @@ public class OsmandMonitoringPlugin extends OsmandPlugin { @Override public boolean init(OsmandApplication app) { settings = app.getSettings(); - settings.SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.CAR, true); - settings.SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.BICYCLE, true); - settings.SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.PEDESTRIAN, true); + //settings.SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.CAR, true); + //settings.SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.BICYCLE, true); + //settings.SAVE_TRACK_TO_GPX.setModeDefaultValue(ApplicationMode.PEDESTRIAN, true); return true; } @@ -83,7 +83,7 @@ public class OsmandMonitoringPlugin extends OsmandPlugin { grp.setTitle(R.string.monitor_preferences); grp.setSummary(R.string.monitor_preferences_descr); grp.setKey("monitor_settings"); - ((PreferenceCategory) screen.findPreference("profile_dep_cat")).addPreference(grp); + ((PreferenceCategory) screen.findPreference("global_settings")).addPreference(grp); PreferenceCategory cat = new PreferenceCategory(activity); cat.setTitle(R.string.save_track_to_gpx);