Increase logging around attachment compression/upload job lifecycle.

This commit is contained in:
Nicholas Tinsley
2024-07-16 17:31:45 -04:00
parent a950462451
commit e9c2f96bb9
5 changed files with 26 additions and 9 deletions

View File

@@ -1044,6 +1044,7 @@ class AttachmentTable(
@Throws(MmsException::class)
fun insertAttachmentForPreUpload(attachment: Attachment): DatabaseAttachment {
Log.d(TAG, "Inserting attachment $attachment for pre-upload.")
val result = insertAttachmentsForMessage(PREUPLOAD_MESSAGE_ID, listOf(attachment), emptyList())
if (result.values.isEmpty()) {