Add progress phases for initialization and finalization for local backups.

This commit is contained in:
Alex Hart
2026-03-16 14:50:02 -03:00
committed by Michelle Tang
parent d2c8b6e14c
commit 2f41d15a41
14 changed files with 254 additions and 213 deletions

View File

@@ -214,6 +214,7 @@ public class ApplicationContext extends Application implements AppForegroundObse
.addNonBlocking(this::ensureProfileUploaded)
.addNonBlocking(() -> AppDependencies.getExpireStoriesManager().scheduleIfNecessary())
.addNonBlocking(BackupRepository::maybeFixAnyDanglingUploadProgress)
.addNonBlocking(BackupRepository::maybeFixAnyDanglingLocalExportProgress)
.addPostRender(() -> AppDependencies.getDeletedCallEventManager().scheduleIfNecessary())
.addPostRender(() -> RateLimitUtil.retryAllRateLimitedMessages(this))
.addPostRender(this::initializeExpiringMessageManager)