Commit fae7dcec authored by narinder Rana's avatar narinder Rana
Browse files

update missing flag askResultEtag

parent 0e9fffbf
Pipeline #146261 failed with stages
in 2 minutes and 44 seconds
...@@ -213,7 +213,7 @@ public class UploadFileOperation extends RemoteOperation implements ComparableOp ...@@ -213,7 +213,7 @@ public class UploadFileOperation extends RemoteOperation implements ComparableOp
CommonUtils.getMimeType( file ), CommonUtils.getMimeType( file ),
( !checkEtag || mSyncedState.getLastETAG().isEmpty() )? null : mSyncedState.getLastETAG(), //If not null, This can cause error 412; that means remote file has change ( !checkEtag || mSyncedState.getLastETAG().isEmpty() )? null : mSyncedState.getLastETAG(), //If not null, This can cause error 412; that means remote file has change
timeStamp ); timeStamp );
uploadRemoteFileOperation.askResultEtag(true); //uploadRemoteFileOperation.askResultEtag(true);
return uploadRemoteFileOperation; return uploadRemoteFileOperation;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment