mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 02:58:45 +00:00
Prevent backup restore service trashing for optimized restore.
This commit is contained in:
committed by
Michelle Tang
parent
6cb716516d
commit
293dcb93d6
@@ -66,6 +66,8 @@ class RestoreOptimizedMediaJob private constructor(parameters: Parameters) : Job
|
||||
|
||||
ArchiveRestoreProgress.onStartMediaRestore()
|
||||
|
||||
BackupMediaRestoreService.start(context, context.getString(R.string.BackupStatus__restoring_media))
|
||||
|
||||
restorableAttachments
|
||||
.forEach {
|
||||
val job = RestoreAttachmentJob.forOffloadedRestore(
|
||||
@@ -78,7 +80,6 @@ class RestoreOptimizedMediaJob private constructor(parameters: Parameters) : Job
|
||||
jobManager.add(job)
|
||||
}
|
||||
|
||||
BackupMediaRestoreService.start(context, context.getString(R.string.BackupStatus__restoring_media))
|
||||
ArchiveRestoreProgress.onRestoringMedia()
|
||||
|
||||
RestoreAttachmentJob.Queues.OFFLOAD_RESTORE.forEach { queue ->
|
||||
|
||||
Reference in New Issue
Block a user