From 27aefab48e1423c763ed477c720cae7c11ca0f22 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sun, 28 Nov 2021 18:07:03 +0100 Subject: hide snowflake in the settings, disable fallback mechanism, comment out snowflake/tor tests --- .../java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java | 2 +- .../main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java index d4f142ef..5ea70085 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java @@ -70,7 +70,7 @@ public class SettingsFragment extends Fragment implements SharedPreferences.OnSh initExcludeAppsEntry(view); initPreferUDPEntry(view); initUseBridgesEntry(view); - initUseSnowflakeEntry(view); + //initUseSnowflakeEntry(view); initFirewallEntry(view); initTetheringEntry(view); setActionBarTitle(this, advanced_settings); 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 fe9100cb..2b381bc4 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 @@ -167,7 +167,7 @@ public class PreferenceHelper { } public static Boolean getUseSnowflake(SharedPreferences preferences) { - return preferences.getBoolean(USE_SNOWFLAKE, true); + return preferences.getBoolean(USE_SNOWFLAKE, false); } public static void useSnowflake(Context context, boolean isEnabled) { -- cgit v1.2.3