summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/ConfigHelper.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-11-07 10:43:03 +0100
committerParménides GV <parmegv@sdf.org>2013-12-10 18:16:07 +0100
commit0bcf72490f726825121e355afbeaf5b14636eb4d (patch)
tree26ede1c88c45a60a8b36c44b745649edd077f1d0 /src/se/leap/bitmaskclient/ConfigHelper.java
parente89dc12bb93da0a638d9a199af4d91a54aa3556e (diff)
Retry button on failed downloads.
Next step: remove the provider from the list (big security hole, since all providers present on the list are assumed to be secure).
Diffstat (limited to 'src/se/leap/bitmaskclient/ConfigHelper.java')
-rw-r--r--src/se/leap/bitmaskclient/ConfigHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/ConfigHelper.java b/src/se/leap/bitmaskclient/ConfigHelper.java
index dd7049a7..6b49d7d7 100644
--- a/src/se/leap/bitmaskclient/ConfigHelper.java
+++ b/src/se/leap/bitmaskclient/ConfigHelper.java
@@ -168,6 +168,9 @@ public class ConfigHelper {
return shared_preferences.getInt(shared_preferences_key, 0);
}
+ protected static boolean sharedPrefContainsKey(String shared_preferences_key) {
+ return shared_preferences.contains(shared_preferences_key);
+ }
/*
* This method defaults to false.
* If you use this method, be sure to fail-closed on false!