Reset unused cids, refactoring

This commit is contained in:
M66B
2019-01-06 10:15:06 +00:00
parent 53de71bccb
commit ae1a36b482
7 changed files with 88 additions and 81 deletions

View File

@@ -184,8 +184,7 @@ public class EntityOperation {
EntityAttachment.getFile(context, attachment.id));
} catch (IOException ex) {
Log.e(ex);
attachment.available = false;
db.attachment().updateAttachment(attachment);
db.attachment().setProgress(attachment.id, null);
}
}
}