summaryrefslogtreecommitdiff
path: root/app/src/production/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-06 02:52:38 +0100
committercyBerta <cyberta@riseup.net>2021-11-06 02:52:38 +0100
commiteb434ae79f45dfd5c14c0901c414a287221442d4 (patch)
tree73b4c8553940127021f8e888a897f707d62b6281 /app/src/production/java
parent8a7b455f011842d17de687b7cbb2b6589b78ac3f (diff)
fix tor provider setup fallback mechanism
Diffstat (limited to 'app/src/production/java')
-rw-r--r--app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java4
1 files changed, 0 insertions, 4 deletions
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 ceb3be3e..dfd1bfbf 100644
--- a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
+++ b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
@@ -329,8 +329,6 @@ public class ProviderApiManager extends ProviderApiManagerBase {
if (tries == 0 &&
responseString != null &&
responseString.contains(ERRORS) &&
- PreferenceHelper.getUseBridges(preferences) &&
- EipStatus.getInstance().isDisconnected() &&
TorStatusObservable.getStatus() == OFF &&
startTorProxy()
) {
@@ -373,8 +371,6 @@ public class ProviderApiManager extends ProviderApiManagerBase {
if (tries == 0 &&
responseString != null &&
responseString.contains(ERRORS) &&
- PreferenceHelper.getUseBridges(preferences) &&
- EipStatus.getInstance().isDisconnected() &&
TorStatusObservable.getStatus() == OFF &&
startTorProxy()
) {