mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-20 12:52:53 +00:00
Added INVALID_COPY_INTO_DESCENDANT code
This commit is contained in:
committed by
David A. Velasco
parent
542e596bf5
commit
f753b1bde8
@@ -104,7 +104,7 @@ public class CopyRemoteFileOperation extends RemoteOperation {
|
||||
}
|
||||
|
||||
if (mTargetRemotePath.startsWith(mSrcRemotePath)) {
|
||||
return new RemoteOperationResult(ResultCode.INVALID_MOVE_INTO_DESCENDANT);
|
||||
return new RemoteOperationResult(ResultCode.INVALID_COPY_INTO_DESCENDANT);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user