|
|
|
|
@ -467,6 +467,15 @@ public class UpdateAdapter extends CursorAdapter {
|
|
|
|
|
else
|
|
|
|
|
result = context.getString(R.string.history_tag_removed, item, tagName);
|
|
|
|
|
|
|
|
|
|
} else if (History.COL_ATTACHMENT_ADDED.equals(column) || History.COL_ATTACHMENT_REMOVED.equals(column)) {
|
|
|
|
|
JSONArray attachmentArray = new JSONArray(newValue);
|
|
|
|
|
String attachmentName = attachmentArray.getString(1);
|
|
|
|
|
if (History.COL_ATTACHMENT_ADDED.equals(column))
|
|
|
|
|
result = context.getString(R.string.history_attach_added, item, attachmentName);
|
|
|
|
|
else
|
|
|
|
|
result = context.getString(R.string.history_attach_removed, item, attachmentName);
|
|
|
|
|
} else if (History.COL_ACKNOWLEDGED.equals(column)) {
|
|
|
|
|
result = context.getString(R.string.history_acknowledged, item);
|
|
|
|
|
} else if (History.COL_SHARED_WITH.equals(column) || History.COL_UNSHARED_WITH.equals(column)) {
|
|
|
|
|
JSONArray members = new JSONArray(newValue);
|
|
|
|
|
String userId = history.getValue(History.USER_UUID);
|
|
|
|
|
|