|
|
@@ -46,16 +46,6 @@ class BackupRepository(
|
|
|
System.currentTimeMillis().toString()
|
|
|
)
|
|
|
dest.mkdirs()
|
|
|
- val file = File(ContextCompat.getDataDir(context), "config.json")
|
|
|
- if (!file.exists()) {
|
|
|
- throw Exception("Config file not found")
|
|
|
- }
|
|
|
- withContext(Dispatchers.IO) {
|
|
|
- IOUtils.copy(
|
|
|
- Files.newInputStream(file.toPath()),
|
|
|
- Files.newOutputStream(File(dest, "config.json").toPath())
|
|
|
- )
|
|
|
- }
|
|
|
|
|
|
val packages = mutableListOf(
|
|
|
PACKAGE_MESSAGING,
|