Merge "DO NOT MERGE: Don't delete source file when a move opration is canceled" into nyc-mr1-dev

This commit is contained in:
TreeHugger Robot
2016-08-20 00:19:45 +00:00
committed by Android (Google) Code Review

View File

@@ -117,8 +117,10 @@ final class MoveJob extends CopyJob {
byteCopyDocument(src, dest); byteCopyDocument(src, dest);
// Remove the source document. // Remove the source document.
if(!isCanceled()) {
deleteDocument(src, srcParent); deleteDocument(src, srcParent);
} }
}
@Override @Override
public String toString() { public String toString() {