diff options
author | cyBerta <cyberta@riseup.net> | 2020-07-23 17:03:15 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2020-07-23 17:03:15 +0200 |
commit | 7b5ad7e802aae82b69ed8ecd916916e6545f01f2 (patch) | |
tree | 14376a364f72220ec86d5144d738d61d94c94b49 /app/src/main/java/se/leap/bitmaskclient/utils | |
parent | 49b18fcdc45433d34eefb46ab236144e19022dcb (diff) |
always use provider from ProviderObservable if possible
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/utils')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/utils/PreferenceHelper.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/utils/PreferenceHelper.java b/app/src/main/java/se/leap/bitmaskclient/utils/PreferenceHelper.java index 87bd5f93..cb2aeb26 100644 --- a/app/src/main/java/se/leap/bitmaskclient/utils/PreferenceHelper.java +++ b/app/src/main/java/se/leap/bitmaskclient/utils/PreferenceHelper.java @@ -37,9 +37,6 @@ import static se.leap.bitmaskclient.Constants.USE_PLUGGABLE_TRANSPORTS; */ public class PreferenceHelper { - public static boolean providerInSharedPreferences(@NonNull SharedPreferences preferences) { - return preferences.getBoolean(PROVIDER_CONFIGURED, false); - } public static Provider getSavedProviderFromSharedPreferences(@NonNull SharedPreferences preferences) { Provider provider = new Provider(); |