mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 20:55:10 +00:00
Fix restore progress bar not clearing after cancel.
This commit is contained in:
committed by
Jeffrey Starke
parent
2b56e00e89
commit
734aa485ce
@@ -103,6 +103,7 @@ import org.thoughtcrime.securesms.jobs.AvatarGroupsV2DownloadJob
|
||||
import org.thoughtcrime.securesms.jobs.BackupDeleteJob
|
||||
import org.thoughtcrime.securesms.jobs.BackupMessagesJob
|
||||
import org.thoughtcrime.securesms.jobs.BackupRestoreMediaJob
|
||||
import org.thoughtcrime.securesms.jobs.CheckRestoreMediaLeftJob
|
||||
import org.thoughtcrime.securesms.jobs.CreateReleaseChannelJob
|
||||
import org.thoughtcrime.securesms.jobs.LocalBackupJob
|
||||
import org.thoughtcrime.securesms.jobs.RequestGroupV2InfoJob
|
||||
@@ -359,6 +360,8 @@ object BackupRepository {
|
||||
SignalStore.backup.userManuallySkippedMediaRestore = true
|
||||
|
||||
RestoreAttachmentJob.Queues.ALL.forEach { AppDependencies.jobManager.cancelAllInQueue(it) }
|
||||
|
||||
RestoreAttachmentJob.Queues.ALL.forEach { AppDependencies.jobManager.add(CheckRestoreMediaLeftJob(it)) }
|
||||
}
|
||||
|
||||
fun markBackupFailure() {
|
||||
|
||||
Reference in New Issue
Block a user