diff options
author | cyberta <cyberta@riseup.net> | 2022-12-28 15:44:00 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-12-28 15:44:00 +0000 |
commit | 6128136ddf9bb3626104c739db65e9e005211116 (patch) | |
tree | c0be56531001441d381b263d6a12a11b6ef0e9e2 /app/src/main/java/se | |
parent | 9d64ea1f6274ca66c4e44f7bd24698a1f64c3ffe (diff) | |
parent | f59a9ee44285b02db65c40552137b4a57ffb2274 (diff) |
Merge branch 'default_udp' into 'master'
RiseupVPN: default to udp on fresh installs
See merge request leap/bitmask_android!236
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/utils/PreferenceHelper.java | 3 |
1 files changed, 2 insertions, 1 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 ff3b5ab1..9cba221a 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 @@ -50,6 +50,7 @@ import java.util.HashSet; import java.util.Set; import de.blinkt.openvpn.VpnProfile; +import se.leap.bitmaskclient.BuildConfig; import se.leap.bitmaskclient.base.models.Provider; import se.leap.bitmaskclient.tor.TorStatusObservable; @@ -220,7 +221,7 @@ public class PreferenceHelper { } public static boolean getPreferUDP(Context context) { - return getBoolean(context, PREFER_UDP, false); + return getBoolean(context, PREFER_UDP, BuildConfig.prefer_udp); } public static void preferUDP(Context context, boolean prefer) { |