summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/eip
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-11-01 23:38:08 +0100
committercyBerta <cyberta@riseup.net>2019-11-01 23:38:08 +0100
commit433bdd35f59b5166d0f3c9b8807b2aa873ba2077 (patch)
treeb7b87ae3d61d5d8be9f434252791bcc3b16cc548 /app/src/main/java/se/leap/bitmaskclient/eip
parent87e4f382b6fc946c5f14002cacb19bec48323535 (diff)
unify error id between provider api service and eip service
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/eip')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EIP.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
index e37305f2..63a2de0b 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
@@ -97,7 +97,7 @@ public final class EIP extends JobIntentService implements Observer {
public final static String TAG = EIP.class.getSimpleName(),
SERVICE_API_PATH = "config/eip-service.json",
ERRORS = "errors",
- ERROR_ID = "errorID";
+ ERRORID = "errorId";
private volatile SharedPreferences preferences;
private volatile EipStatus eipStatus;
@@ -353,7 +353,7 @@ public final class EIP extends JobIntentService implements Observer {
} else {
errorJson.put(ERRORS, getResources().getString(errorMessageId));
}
- errorJson.put(ERROR_ID, errorId);
+ errorJson.put(ERRORID, errorId);
} catch (JSONException e) {
e.printStackTrace();
}