Do not close the database when a merge failed

This commit is contained in:
J-Jamet
2022-01-17 22:18:46 +01:00
parent 2f2cbf343e
commit 1e43a65743

View File

@@ -53,8 +53,6 @@ class MergeDatabaseRunnable(private val context: Context,
if (result.isSuccess) {
// Register the current time to init the lock timer
PreferencesUtil.saveCurrentTime(context)
} else {
mDatabase.clearAndClose(context)
}
}