|
|
@ -484,11 +484,11 @@ public class UpdateAdapter extends CursorAdapter {
|
|
|
|
|
|
|
|
|
|
|
|
} else if (History.COL_ATTACHMENT_ADDED.equals(column) || History.COL_ATTACHMENT_REMOVED.equals(column)) {
|
|
|
|
} else if (History.COL_ATTACHMENT_ADDED.equals(column) || History.COL_ATTACHMENT_REMOVED.equals(column)) {
|
|
|
|
JSONArray attachmentArray = new JSONArray(newValue);
|
|
|
|
JSONArray attachmentArray = new JSONArray(newValue);
|
|
|
|
String attachmentName = attachmentArray.getString(1);
|
|
|
|
String attachmentName = attachmentArray.getString(0);
|
|
|
|
if (History.COL_ATTACHMENT_ADDED.equals(column))
|
|
|
|
if (History.COL_ATTACHMENT_ADDED.equals(column))
|
|
|
|
result = context.getString(R.string.history_attach_added, item, attachmentName);
|
|
|
|
result = context.getString(R.string.history_attach_added, attachmentName, item);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
result = context.getString(R.string.history_attach_removed, item, attachmentName);
|
|
|
|
result = context.getString(R.string.history_attach_removed, attachmentName, item);
|
|
|
|
} else if (History.COL_ACKNOWLEDGED.equals(column)) {
|
|
|
|
} else if (History.COL_ACKNOWLEDGED.equals(column)) {
|
|
|
|
result = context.getString(R.string.history_acknowledged, item);
|
|
|
|
result = context.getString(R.string.history_acknowledged, item);
|
|
|
|
} else if (History.COL_SHARED_WITH.equals(column) || History.COL_UNSHARED_WITH.equals(column)) {
|
|
|
|
} else if (History.COL_SHARED_WITH.equals(column) || History.COL_UNSHARED_WITH.equals(column)) {
|
|
|
|