Browse Source

fix compile error

Andy Scherzinger 8 years ago
parent
commit
b502872e00
1 changed files with 1 additions and 1 deletions
  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(),