diff options
author | cyBerta <cyberta@riseup.net> | 2024-11-07 19:24:45 +0100 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2024-12-11 00:09:34 +0000 |
commit | 00ee0d21c7d3a66fbe8b565fd06268501380c596 (patch) | |
tree | 04c5b7db1d0c119fda0fa7fdb631cab6d4d437c4 /app/src/main/java | |
parent | bbf98bb94648bb9c7a8aebe866a7bc61a79c14ca (diff) |
fix fix check when to run geolocation lookups on provider setup
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV5.java | 2 |
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 |