summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-08-03 15:59:18 +0200
committercyBerta <cyberta@riseup.net>2023-08-03 15:59:18 +0200
commit2b2d80d37ee43a98f04edd5a4c80042aeb834622 (patch)
tree92754be6354f80ce545ee20aa70e4d950478379b /app/src/main
parent5ceaf7c7a2fc847c52b1764725ceabacd708a15a (diff)
tweak comment - referring to canConnect() test in provider setup
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerBase.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerBase.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerBase.java
index fbb0d507..9468f76e 100644
--- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerBase.java
+++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerBase.java
@@ -250,6 +250,7 @@ public abstract class ProviderApiManagerBase {
}
ProviderObservable.getInstance().setProviderForDns(null);
break;
+
case SET_UP_PROVIDER:
ProviderObservable.getInstance().setProviderForDns(provider);
result = setUpProvider(provider, parameters);
@@ -949,7 +950,7 @@ public abstract class ProviderApiManagerBase {
result = validateCertificateForProvider(result, provider);
- //invalid certificate or no certificate
+ //invalid certificate or no certificate or unable to connect due other connectivity issues
if (result.containsKey(ERRORS) || (result.containsKey(BROADCAST_RESULT_KEY) && !result.getBoolean(BROADCAST_RESULT_KEY)) ) {
return result;
}