Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4f39096 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 1b109c31 682d3703
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -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() {