Refactoring

This commit is contained in:
M66B
2020-04-15 08:52:01 +02:00
parent 6f7afbd230
commit a0b735c416
4 changed files with 15 additions and 10 deletions

View File

@@ -116,6 +116,10 @@ public class EntityAttachment {
return IMAGE_TYPES.contains(getMimeType());
}
boolean isEncryption() {
return (encryption != null);
}
File getFile(Context context) {
return getFile(context, id, name);
}