Removal of the "show on map"-feature using KML/GPX.

Dashboard API is nicer and easier.

Fixes #2012.
This commit is contained in:
Dennis Guse
2024-11-19 18:22:20 +01:00
parent d9de56be33
commit 2cc4218dc6
29 changed files with 1 additions and 167 deletions
@@ -52,7 +52,6 @@ import de.dennisguse.opentracks.sensors.SensorType;
import de.dennisguse.opentracks.ui.customRecordingLayout.CsvLayoutUtils;
import de.dennisguse.opentracks.ui.customRecordingLayout.RecordingLayout;
import de.dennisguse.opentracks.ui.customRecordingLayout.RecordingLayoutIO;
import de.dennisguse.opentracks.util.IntentDashboardUtils;
/**
* Utilities to access preferences stored in {@link SharedPreferences}.
@@ -860,14 +859,6 @@ public class PreferencesUtils {
sharedPreferences.edit().clear().commit();
}
public static void setShowOnMapFormat(final String showOnMapFormat) {
setString(R.string.show_on_map_format_key, showOnMapFormat);
}
public static String getShowOnMapFormat() {
return getString(R.string.show_on_map_format_key, IntentDashboardUtils.PREFERENCE_ID_ASK);
}
public static int getTotalRowsDeleted() {
return getInt(R.string.total_rows_deleted_key, 0);
}