소스 검색

Add comment for final block

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 년 전
부모
커밋
b2b5cdb5dd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java

+ 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);