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