aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Settings.java
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2012-02-11 20:39:39 +0100
committerblafoo <github@blafoo.de>2012-02-11 20:39:39 +0100
commitfe3cbc49ce5ac02393e193114d1b40348a8a8250 (patch)
treeecf1780874c40fe768edc7480cee2064d2efa2af /main/src/cgeo/geocaching/Settings.java
parent14ba46c805858046029941e36be6a7277e49bff2 (diff)
downloadcgeo-fe3cbc49ce5ac02393e193114d1b40348a8a8250.zip
cgeo-fe3cbc49ce5ac02393e193114d1b40348a8a8250.tar.gz
cgeo-fe3cbc49ce5ac02393e193114d1b40348a8a8250.tar.bz2
Identify c:geo as an ordinary webbrowser. Fixes #1025
Diffstat (limited to 'main/src/cgeo/geocaching/Settings.java')
-rw-r--r--main/src/cgeo/geocaching/Settings.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/main/src/cgeo/geocaching/Settings.java b/main/src/cgeo/geocaching/Settings.java
index 9ed4f70..4f9a240 100644
--- a/main/src/cgeo/geocaching/Settings.java
+++ b/main/src/cgeo/geocaching/Settings.java
@@ -52,7 +52,6 @@ public final class Settings {
private static final String KEY_ELEVATION_WANTED = "elevationwanted";
private static final String KEY_FRIENDLOGS_WANTED = "friendlogswanted";
private static final String KEY_USE_ENGLISH = "useenglish";
- private static final String KEY_AS_BROWSER = "asbrowser";
private static final String KEY_USE_COMPASS = "usecompass";
private static final String KEY_AUTO_VISIT_TRACKABLES = "trackautovisit";
private static final String KEY_AUTO_INSERT_SIGNATURE = "sigautoinsert";
@@ -436,10 +435,6 @@ public final class Settings {
return sharedPrefs.getString(KEY_GC_CUSTOM_DATE, null);
}
- public static boolean isBrowser() {
- return 0 != sharedPrefs.getInt(KEY_AS_BROWSER, 1);
- }
-
public static boolean isExcludeMyCaches() {
return 0 != sharedPrefs.getInt(KEY_EXCLUDE_OWN, 0);
}
@@ -466,16 +461,6 @@ public final class Settings {
});
}
- public static void setAsBrowser(final boolean asBrowser) {
- editSharedSettings(new PrefRunnable() {
-
- @Override
- public void edit(Editor edit) {
- edit.putInt(KEY_AS_BROWSER, asBrowser ? 1 : 0);
- }
- });
- }
-
public static void setUseEnglish(final boolean english) {
editSharedSettings(new PrefRunnable() {
@Override