mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Safe blanket to clean DB if wrong conflicts keep stored
This commit is contained in:
parent
95bebe9382
commit
b8a3dc71e4
1 changed files with 5 additions and 1 deletions
|
@ -263,7 +263,11 @@ public class SynchronizeFileOperation extends SyncOperation {
|
|||
result = new RemoteOperationResult(ResultCode.OK);
|
||||
}
|
||||
|
||||
}
|
||||
// safe blanket: sync'ing a not in-conflict file will clean wrong conflict markers in ancestors
|
||||
if (result.getCode() != ResultCode.SYNC_CONFLICT) {
|
||||
getStorageManager().saveConflict(mLocalFile, false);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue