Cleanup attachment operations

This commit is contained in:
M66B
2020-10-12 16:38:24 +02:00
parent 4f6c6d8471
commit 3868ac652c

View File

@@ -461,6 +461,15 @@ public class EntityOperation {
Log.e(ex);
}
if (EntityOperation.ATTACHMENT.equals(name))
try {
JSONArray jargs = new JSONArray(args);
db.attachment().setProgress(jargs.getLong(0), null);
return;
} catch (JSONException ex) {
Log.e(ex);
}
if (EntityOperation.SYNC.equals(name))
db.folder().setFolderSyncState(folder, null);