Recreate Backup worker with IS_AUTO_BACKUP_KEY flag (#6742)

* Recreate Backup worker with IS_AUTO_BACKUP_KEY flag

* Extra safety net to not delete backup folder

(cherry picked from commit 86016de6cb)

# Conflicts:
#	app/build.gradle.kts
This commit is contained in:
Andreas
2022-03-06 14:36:47 +01:00
committed by Jobobby04
parent 7c2283c962
commit d2972c7c5a
4 changed files with 8 additions and 2 deletions
+3
View File
@@ -392,6 +392,9 @@ object EXHMigrations {
preferences.sourceDisplayMode().set(DisplayModeSetting.COMPACT_GRID)
}
}
if (oldVersion under 30) {
BackupCreatorJob.setupTask(context)
}
// if (oldVersion under 1) { } (1 is current release version)
// do stuff here when releasing changed crap