
activity.setTitleId(extraDataJSON.getString("titleId"));
</BUG>
}
<BUG>if (extraDataJSON.has(Activity.Field.URL.toString())) {

activity.setUrl(extraDataJSON.getString("url"));
</BUG>
}
return activity;

activity.setTemplateParams(getTemplateParams(
extraDataJSONObject.getJSONArray("templateParams")));
}
if (extraDataJSONObject.has(Activity.Field.TITLE.toString())) {
activity.setTitle(extraDataJSONObject.getString("title"));
}
if (extraDataJSONObject.has(Activity.Field.TITLE_ID.toString())) {
activity.setTitleId(extraDataJSONObject.getString("titleId"));
}
if (extraDataJSONObject.has(Activity.Field.URL.toString())) {
activity.setUrl(extraDataJSONObject.getString("url"));
}
return activity;
