diff options
author | cyBerta <richy@cyborgsociety.org> | 2013-12-21 00:38:00 +0100 |
---|---|---|
committer | cyBerta <richy@cyborgsociety.org> | 2013-12-21 00:38:00 +0100 |
commit | b2efaf181fb7833206e97f64eb29400057a7d7ed (patch) | |
tree | e7a2715313e7a9b7786606280081f7dace026a5f /src/se/leap/bitmaskclient/ConfigHelper.java | |
parent | 31e0ee7819ff6e852bc40f66858f0ac02659bf04 (diff) | |
parent | 16ac5c300e21ce4c8b380013735f2c17d2e34768 (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.java | 3 |
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! |