diff options
author | cyberta <cyberta@riseup.net> | 2022-02-04 19:36:47 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-02-04 19:36:47 +0000 |
commit | 2f777b5ebd80fc3f6a46dc09f60057370c399042 (patch) | |
tree | 164be2f77db521032947cdc72f11b655b127b37f /app | |
parent | 76108b758e869a9ba4369ea94f73c6c9075c00f3 (diff) | |
parent | 491afb595e6e8813e75b4749c0a66f7e55a286a5 (diff) |
Merge branch 'enable_snowflake_feature' into 'master'
build and enable snowflake feature
See merge request leap/bitmask_android!170
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java | 2 | ||||
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java | 2 |
2 files changed, 2 insertions, 2 deletions
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 a20d0b73..be2fe4f4 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 @@ -71,7 +71,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 2b381bc4..fe9100cb 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, false); + return preferences.getBoolean(USE_SNOWFLAKE, true); } public static void useSnowflake(Context context, boolean isEnabled) { |