@Override
 @Nullable
 public Uri getDataUri() {
   if (hasData) {
     return PartAuthority.getAttachmentDataUri(attachmentId);
   } else {
     return null;
   }
 }
 @Override
 @NonNull
 public Uri getDataUri() {
   return PartAuthority.getAttachmentDataUri(attachmentId);
 }