Browse Source

Add comment for final block

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 year ago
parent
commit
b2b5cdb5dd

+ 1 - 0
app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java

@@ -756,6 +756,7 @@ public class UploadFileOperation extends SyncOperation {
 
             logResult(result, mFile.getStoragePath(), mFile.getRemotePath());
 
+            // Unlock must be done otherwise folder stays locked and user can't upload any file
             RemoteOperationResult<Void> unlockFolderResult = null;
             if (object instanceof DecryptedFolderMetadataFileV1) {
                 unlockFolderResult = EncryptionUtils.unlockFolderV1(parentFile, client, token);