aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-07-09 23:12:39 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-07-14 13:55:59 +0200
commit9ab45c5e28ff9b1dd993c8d28048016db86c6319 (patch)
tree61af639f648bc3e39ab990c53a1401d97e2bd110 /main/src
parentf5a8c176e160812b7350f88d7bc4d3014e3ec060 (diff)
downloadcgeo-9ab45c5e28ff9b1dd993c8d28048016db86c6319.zip
cgeo-9ab45c5e28ff9b1dd993c8d28048016db86c6319.tar.gz
cgeo-9ab45c5e28ff9b1dd993c8d28048016db86c6319.tar.bz2
Remove latitude/elevation related settings
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/settings/Settings.java10
-rw-r--r--main/src/cgeo/geocaching/settings/SettingsActivity.java1
2 files changed, 0 insertions, 11 deletions
diff --git a/main/src/cgeo/geocaching/settings/Settings.java b/main/src/cgeo/geocaching/settings/Settings.java
index 20bbf22..775b699 100644
--- a/main/src/cgeo/geocaching/settings/Settings.java
+++ b/main/src/cgeo/geocaching/settings/Settings.java
@@ -117,13 +117,11 @@ public final class Settings {
e.putInt(getKey(R.string.pref_version), old.getInt(getKey(R.string.pref_version), 0));
e.putBoolean(getKey(R.string.pref_autoloaddesc), 0 != old.getInt(getKey(R.string.pref_autoloaddesc), 1));
e.putBoolean(getKey(R.string.pref_ratingwanted), old.getBoolean(getKey(R.string.pref_ratingwanted), true));
- e.putBoolean(getKey(R.string.pref_elevationwanted), old.getBoolean(getKey(R.string.pref_elevationwanted), false));
e.putBoolean(getKey(R.string.pref_friendlogswanted), old.getBoolean(getKey(R.string.pref_friendlogswanted), true));
e.putBoolean(getKey(R.string.pref_useenglish), old.getBoolean(getKey(R.string.pref_useenglish), false));
e.putBoolean(getKey(R.string.pref_usecompass), 0 != old.getInt(getKey(R.string.pref_usecompass), 1));
e.putBoolean(getKey(R.string.pref_trackautovisit), old.getBoolean(getKey(R.string.pref_trackautovisit), false));
e.putBoolean(getKey(R.string.pref_sigautoinsert), old.getBoolean(getKey(R.string.pref_sigautoinsert), false));
- e.putInt(getKey(R.string.pref_altcorrection), old.getInt(getKey(R.string.pref_altcorrection), 0));
e.putBoolean(getKey(R.string.pref_logimages), old.getBoolean(getKey(R.string.pref_logimages), false));
e.putBoolean(getKey(R.string.pref_excludedisabled), 0 != old.getInt(getKey(R.string.pref_excludedisabled), 0));
e.putBoolean(getKey(R.string.pref_excludemine), 0 != old.getInt(getKey(R.string.pref_excludemine), 0));
@@ -527,10 +525,6 @@ public final class Settings {
return getBoolean(R.string.pref_ratingwanted, true);
}
- public static boolean isElevationWanted() {
- return getBoolean(R.string.pref_elevationwanted, false);
- }
-
public static boolean isFriendLogsWanted() {
if (!isLogin()) {
// don't show a friends log if the user is anonymous
@@ -693,10 +687,6 @@ public final class Settings {
return keyConsumerSecret;
}
- public static int getAltitudeCorrection() {
- return getInt(R.string.pref_altcorrection, 0);
- }
-
public static String getWebDeviceCode() {
return getString(R.string.pref_webDeviceCode, null);
}
diff --git a/main/src/cgeo/geocaching/settings/SettingsActivity.java b/main/src/cgeo/geocaching/settings/SettingsActivity.java
index d6bd550..ad8d9d3 100644
--- a/main/src/cgeo/geocaching/settings/SettingsActivity.java
+++ b/main/src/cgeo/geocaching/settings/SettingsActivity.java
@@ -130,7 +130,6 @@ public class SettingsActivity extends PreferenceActivity {
R.string.pref_fakekey_preference_backup_info, }) {
bindSummaryToStringValue(this, getKey(k));
}
- bindSummaryToIntValue(this, getKey(R.string.pref_altcorrection));
}
private static String getKey(final int prefKeyId) {