mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
fix: Backup progress is never shown
This commit is contained in:
parent
f6e5a6c712
commit
7fe5e9a767
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ class BackupCreatorJob(private val context: Context, workerParams: WorkerParamet
|
|||
?: getAutomaticBackupLocation()
|
||||
?: return Result.failure()
|
||||
|
||||
// FIXME: tryToSetForeground keep causing auto backup to fail
|
||||
notifier.showBackupProgress() // Remove when tryToSetForeground is "fixed"
|
||||
// tryToSetForeground()
|
||||
|
||||
val options = inputData.getBooleanArray(BACKUP_FLAGS_KEY)?.let { BackupOptions.fromBooleanArray(it) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue