summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV5.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV5.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV5.java
index 5b822be7..eb219ff9 100644
--- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV5.java
+++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV5.java
@@ -252,7 +252,7 @@ public class ProviderApiManagerV5 extends ProviderApiManagerBase implements IPro
private void configureBaseCountryCode(BitmaskMobile bm, Bundle parameters) {
String cc = parameters.getString(COUNTRYCODE, null);
if (cc == null &&
- !EipStatus.getInstance().isDisconnected() &&
+ EipStatus.getInstance().isDisconnected() &&
TorStatusObservable.getStatus() == OFF) {
try {
// FIXME: doGeolocationLookup currently sets the country code implicitly, change that in bitmask-core