do not compare exact sources and destination file size at Move

This commit is contained in:
tibbi 2017-03-30 22:56:34 +02:00
parent b9564a98f8
commit ffc24897d0

View file

@ -108,7 +108,7 @@ class CopyMoveTask(val activity: BaseSimpleActivity, val deleteAfterCopy: Boolea
copyStream(inputStream, out)
activity.scanFile(destination) {}
if (source.length() == destination.length())
if (destination.length() > 0)
mMovedFiles.add(source)
}