mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Media needs to be tapped on twice for it to load during call.
Fixes #14581 Fixes #14592
This commit is contained in:
committed by
Alex Hart
parent
46582a685b
commit
a8dddf33f8
@@ -116,9 +116,19 @@ class AttachmentDownloadJob private constructor(
|
||||
}
|
||||
}
|
||||
|
||||
AttachmentTable.TRANSFER_PROGRESS_STARTED,
|
||||
AttachmentTable.TRANSFER_PROGRESS_STARTED -> {
|
||||
Log.i(TAG, "${databaseAttachment.attachmentId} is in started state, enqueueing force download in case existing job is constraint-blocked")
|
||||
val downloadJob = AttachmentDownloadJob(
|
||||
messageId = databaseAttachment.mmsId,
|
||||
attachmentId = databaseAttachment.attachmentId,
|
||||
forceDownload = true
|
||||
)
|
||||
AppDependencies.jobManager.add(downloadJob)
|
||||
downloadJob.id
|
||||
}
|
||||
|
||||
AttachmentTable.TRANSFER_PROGRESS_PERMANENT_FAILURE -> {
|
||||
Log.d(TAG, "${databaseAttachment.attachmentId} is downloading or permanently failed, transferState: $transferState")
|
||||
Log.d(TAG, "${databaseAttachment.attachmentId} is permanently failed, transferState: $transferState")
|
||||
null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user