summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/ConfigHelper.java
diff options
context:
space:
mode:
authorcyBerta <richy@cyborgsociety.org>2013-12-21 00:38:00 +0100
committercyBerta <richy@cyborgsociety.org>2013-12-21 00:38:00 +0100
commitb2efaf181fb7833206e97f64eb29400057a7d7ed (patch)
treee7a2715313e7a9b7786606280081f7dace026a5f /src/se/leap/bitmaskclient/ConfigHelper.java
parent31e0ee7819ff6e852bc40f66858f0ac02659bf04 (diff)
parent16ac5c300e21ce4c8b380013735f2c17d2e34768 (diff)
Merge branch 'bug/more-detailed-response-to-CW-errors' into develop
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!