summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-02-04 19:36:47 +0000
committercyberta <cyberta@riseup.net>2022-02-04 19:36:47 +0000
commit2f777b5ebd80fc3f6a46dc09f60057370c399042 (patch)
tree164be2f77db521032947cdc72f11b655b127b37f
parent76108b758e869a9ba4369ea94f73c6c9075c00f3 (diff)
parent491afb595e6e8813e75b4749c0a66f7e55a286a5 (diff)
Merge branch 'enable_snowflake_feature' into 'master'
build and enable snowflake feature See merge request leap/bitmask_android!170
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/SettingsFragment.java2
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java2
-rwxr-xr-xscripts/build_deps.sh2
3 files changed, 3 insertions, 3 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) {
diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh
index fbac5995..83fed5e8 100755
--- a/scripts/build_deps.sh
+++ b/scripts/build_deps.sh
@@ -15,7 +15,7 @@ DIR_GOLIBS=./bitmaskcore/lib/
DIR_TORLIBS=./tor-android/external/lib
EXPECTED_NDK_VERSION="21.4.7075529"
EXPECTED_ANDROID_NDK_RELEASE_VERSION="r21e"
-BUILD_TOR=false
+BUILD_TOR=true
# init
# look for empty dir