diff options
-rw-r--r-- | app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java | 8 |
1 files changed, 4 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 b6069982..fc1f0f59 100644 --- a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java +++ b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java @@ -330,8 +330,8 @@ public class ProviderApiManager extends ProviderApiManagerBase { responseString.contains(ERRORS) && PreferenceHelper.useTor(preferences) && EipStatus.getInstance().isDisconnected() && - TorStatusObservable.getStatus() == OFF || - TorStatusObservable.getStatus() == UNKOWN) { + (TorStatusObservable.getStatus() == OFF || + TorStatusObservable.getStatus() == UNKOWN)) { TorStatusObservable.setProxyPort(startTorProxy()); return downloadWithCommercialCA(stringUrl, provider, 1); } @@ -371,8 +371,8 @@ public class ProviderApiManager extends ProviderApiManagerBase { responseString.contains(ERRORS) && PreferenceHelper.useTor(preferences) && EipStatus.getInstance().isDisconnected() && - TorStatusObservable.getStatus() == OFF || - TorStatusObservable.getStatus() == UNKOWN) { + (TorStatusObservable.getStatus() == OFF || + TorStatusObservable.getStatus() == UNKOWN)) { TorStatusObservable.setProxyPort(startTorProxy()); return downloadFromUrlWithProviderCA(urlString, provider, 1); } |