From 62d2bdacec6c54f4453f1ad20425e99254998e9a Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 23 Oct 2021 00:59:46 +0200 Subject: rename usePluggableTransports prefrence to useBridges, start snowflake if useBridges is true --- .../java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/production/java') diff --git a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java index 3067c1bf..6ca3e949 100644 --- a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java +++ b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java @@ -330,7 +330,7 @@ public class ProviderApiManager extends ProviderApiManagerBase { if (tries == 0 && responseString != null && responseString.contains(ERRORS) && - PreferenceHelper.useTor(preferences) && + PreferenceHelper.getUseBridges(preferences) && EipStatus.getInstance().isDisconnected() && (TorStatusObservable.getStatus() == OFF || TorStatusObservable.getStatus() == UNKOWN) && @@ -375,7 +375,7 @@ public class ProviderApiManager extends ProviderApiManagerBase { if (tries == 0 && responseString != null && responseString.contains(ERRORS) && - PreferenceHelper.useTor(preferences) && + PreferenceHelper.getUseBridges(preferences) && EipStatus.getInstance().isDisconnected() && (TorStatusObservable.getStatus() == OFF || TorStatusObservable.getStatus() == UNKOWN) && -- cgit v1.2.3