!(rawDid.get("did") instanceof String)) {
cleanup(false, null,</BUG>
applicationContext.getString(R.string.preferences_account_did_error_api_parse));
return;
}
<BUG>if (rawDid.get("sms_available").equals("1")) {

if (rawDid.get("sms_enabled") == null) {
</BUG>
cleanup(false, null,

if (rawDids == null) {
cleanup(false, null,
applicationContext.getString(R.string.preferences_account_did_error_api_parse));
return;
}
for (int i = 0; i < rawDids.length(); i++) {
JSONObject rawDid = rawDids.optJSONObject(i);
if (rawDid == null || rawDid.optString("sms_available") == null ||
rawDid.optString("did") == null) {
cleanup(false, null,
