Browse Source

resume chunked uploads

tobiasKaminsky 8 years ago
parent
commit
f890b3553a
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

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