summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-08-03 12:36:49 +0200
committercyBerta <cyberta@riseup.net>2023-08-03 12:36:49 +0200
commit10b929f01e1578391af9d9cea7fce15aae1bfaeb (patch)
tree63fc5816b7be132cc6f3a24e265da7c5d6124006 /app/src/main
parent64449816223cb9abb6e75310c03dcc9353a42ee4 (diff)
update tests
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java b/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java
index b35a04cd..1168f957 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java
@@ -404,6 +404,12 @@ public class PreferenceHelper {
}
}
+ /**
+ * hasSnowflakePrefs should return always true with the new provider setup flow. We keep this preference
+ * only as long as we haven't ported the provider setup flow to the custom branded version
+ * @return
+ */
+ @Deprecated
public static boolean hasSnowflakePrefs() {
return hasKey(USE_SNOWFLAKE);
}