cleanup(false, null, applicationContext.getString(
R.string.preferences_account_did_error_api_error).replace("{error}", status));
return;
}
final List<String> dids = new ArrayList<>();
<BUG>JSONArray rawDids = (JSONArray) resultObject.getJsonObject().get("dids");
</BUG>
if (rawDids == null) {
cleanup(false, null,
applicationContext.getString(R.string.preferences_account_did_error_api_parse));

cleanup(false, null, applicationContext.getString(
R.string.preferences_account_did_error_api_error).replace("{error}", status));
return;
}
final List<String> dids = new ArrayList<>();
JSONArray rawDids = resultObject.getJsonObject().optJSONArray("dids");
if (rawDids == null) {
cleanup(false, null,
applicationContext.getString(R.string.preferences_account_did_error_api_parse));
