mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
debug: Temporarily notify backup error for auto backup
This commit is contained in:
parent
15ca197c4e
commit
1ae32840eb
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ class BackupCreatorJob(private val context: Context, workerParams: WorkerParamet
|
|||
Result.success()
|
||||
} catch (e: Exception) {
|
||||
Logger.e(e) { "Unable to create backup" }
|
||||
if (!isAutoBackup) notifier.showBackupError(e.message)
|
||||
// FIXME: Disable it for auto backup once we're done
|
||||
//if (!isAutoBackup)
|
||||
notifier.showBackupError(e.message)
|
||||
Result.failure()
|
||||
} finally {
|
||||
context.notificationManager.cancel(Notifications.ID_BACKUP_PROGRESS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue