summaryrefslogtreecommitdiff
path: root/app/src/insecure/java/se/leap
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-02-26 23:53:51 +0100
committercyBerta <cyberta@riseup.net>2021-02-26 23:53:51 +0100
commit2ace1e224bc15481dcaf4cfa46272adf7c01bdd8 (patch)
treeb0167d47f1076f2365f688baa585fb4d79dd293f /app/src/insecure/java/se/leap
parentf5ac2b26a9efea7ff2efbf64a1ec1dd3be9e35cf (diff)
fix another empty alert on server reponding null a body during provider setup
Diffstat (limited to 'app/src/insecure/java/se/leap')
-rw-r--r--app/src/insecure/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/insecure/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java b/app/src/insecure/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
index 833d1e48..dfb5346b 100644
--- a/app/src/insecure/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
+++ b/app/src/insecure/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
@@ -204,7 +204,7 @@ public class ProviderApiManager extends ProviderApiManagerBase {
result.putBoolean(BROADCAST_RESULT_KEY, true);
}
} catch (NullPointerException | JSONException e) {
- setErrorResult(result, eipServiceJsonString);
+ setErrorResult(result, R.string.error_json_exception_user_message, null);
}
//TODO: check why the following line is not in production
result.putParcelable(PROVIDER_KEY, provider);