Andy Scherzinger 8 лет назад
Родитель
Сommit
b502872e00
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/com/owncloud/android/operations/UploadFileOperation.java

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

@@ -368,7 +368,7 @@ public class UploadFileOperation extends SyncOperation {
             if ( mChunked &&
                     (new File(mFile.getStoragePath())).length() >
                             ChunkedUploadRemoteFileOperation.CHUNK_SIZE ) {
-                mUploadOperation = new ChunkedUploadRemoteFileOperation(mFile.getStoragePath(),
+                mUploadOperation = new ChunkedUploadRemoteFileOperation(mContext, mFile.getStoragePath(),
                         mFile.getRemotePath(), mFile.getMimetype(), mFile.getEtagInConflict());
             } else {
                 mUploadOperation = new UploadRemoteFileOperation(mFile.getStoragePath(),