Small improvement

This commit is contained in:
M66B
2019-03-21 19:58:00 +00:00
parent 123b979aba
commit c8dc7d3915
3 changed files with 3 additions and 5 deletions

View File

@@ -1530,7 +1530,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
DB db = DB.getInstance(context);
EntityAttachment attachment = db.attachment().getAttachment(id);
if (attachment == null)
throw new FileNotFoundException();
return null;
File file = attachment.getFile(context);
ParcelFileDescriptor pfd = null;