diff options
author | cyBerta <cyberta@riseup.net> | 2019-05-20 23:58:26 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2019-05-20 23:59:09 +0200 |
commit | 5fd9cd738f26797cf16576bf4011852c9f3052a8 (patch) | |
tree | 06161d9b2af8c7679596ecea32ec5af4e2d7a761 /app/src/production | |
parent | df991bb8a28ec8dd42d3ffcdcdc6cc0a6d1ce915 (diff) |
improve provider json validation during setup
Diffstat (limited to 'app/src/production')
-rw-r--r-- | app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java b/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java index fe7e2491..cdbe5f60 100644 --- a/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java +++ b/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java @@ -84,13 +84,13 @@ public class ProviderApiManager extends ProviderApiManagerBase { getPersistedProviderUpdates(provider); currentDownload = validateProviderDetails(provider); - //provider details invalid + //provider certificate invalid if (currentDownload.containsKey(ERRORS)) { currentDownload.putParcelable(PROVIDER_KEY, provider); return currentDownload; } - //no provider certificate available + //no provider json or certificate available if (currentDownload.containsKey(BROADCAST_RESULT_KEY) && !currentDownload.getBoolean(BROADCAST_RESULT_KEY)) { resetProviderDetails(provider); } |