mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore(backup/create): Remove fixme note [skip ci]
The issues I was having with auto backup was caused by my device's Power Saving, unfortunately I don't think there's a way around it...
This commit is contained in:
parent
34818eb7de
commit
5d2a08f2b0
1 changed files with 0 additions and 8 deletions
|
@ -47,14 +47,6 @@ class BackupCreatorJob(private val context: Context, workerParams: WorkerParamet
|
|||
?: return Result.failure()
|
||||
|
||||
tryToSetForeground()
|
||||
/*
|
||||
if (isAutoBackup) {
|
||||
notifier.showBackupProgress() // Remove when tryToSetForeground is "fixed"
|
||||
} else {
|
||||
// FIXME: tryToSetForeground keep causing auto backup to fail
|
||||
tryToSetForeground()
|
||||
}
|
||||
*/
|
||||
|
||||
val options = inputData.getBooleanArray(BACKUP_FLAGS_KEY)?.let { BackupOptions.fromBooleanArray(it) }
|
||||
?: BackupOptions()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue