revert: "Temporarily notify backup error for auto backup"

This reverts commit 1ae32840eb.
This commit is contained in:
Ahmad Ansori Palembani 2024-10-10 10:24:58 +07:00
parent 1ae32840eb
commit 6ba22b9e45
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -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)