Skip to content

Conversation

gavine99
Copy link
Contributor

changes to ingest all attachments in a standard manner. non-functional change.

this pr's primary use - apart from a slightly cleaner code-base - is to enable possible future pr's

  1. using storage access framework (saf/files app) for all attachment types (contact, any file, and photo)
  2. using a single 'attach anything' menu item to replace attach a photo, attach a file and attach a contact items

resourceBytes = it.readBytes()
}
} catch (e: Exception) {
}

return resourceBytes!!
return resourceBytes ?: ByteArray(0)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smart

@octoshrimpy octoshrimpy merged commit 33ed5f3 into octoshrimpy:master Feb 13, 2025
2 checks passed
@gavine99 gavine99 deleted the ingest-all-attachments-in-standard-manner branch February 15, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants