mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Try to fix update
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
878a8cb7d8
commit
1b5f0597c4
1 changed files with 3 additions and 2 deletions
|
@ -1018,6 +1018,9 @@ public class FileContentProvider extends ContentProvider {
|
|||
Log_OC.i(SQL, "Create filesystem table");
|
||||
createFileSystemTable(db);
|
||||
|
||||
upgraded = true;
|
||||
db.setTransactionSuccessful();
|
||||
|
||||
// magic to split out existing synced folders in two when needed
|
||||
// otherwise, we migrate them to their proper type (image or video)
|
||||
Log_OC.i(SQL, "Migrate synced_folders records for image/video split");
|
||||
|
@ -1059,8 +1062,6 @@ public class FileContentProvider extends ContentProvider {
|
|||
|
||||
syncedFolderProvider.deleteSyncedFoldersInList(idsToDelete);
|
||||
|
||||
upgraded = true;
|
||||
db.setTransactionSuccessful();
|
||||
} catch (Throwable t) {
|
||||
Log_OC.e(TAG, "ERROR!", t);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in a new issue