tolerate 1 mb size difference at source and destination at Move check
This commit is contained in:
parent
ad819c856a
commit
64c5e23bf8
2 changed files with 2 additions and 2 deletions
|
@ -29,5 +29,5 @@ ext {
|
|||
propMinSdkVersion = 16
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '2.18.7'
|
||||
propVersionName = '2.18.8'
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ class CopyMoveTask(val activity: BaseSimpleActivity, val copyOnly: Boolean = fal
|
|||
|
||||
inputStream.copyTo(out!!)
|
||||
activity.scanFile(destination) {}
|
||||
if (source.hashCode() == destination.hashCode())
|
||||
if (source.length() / 1000000 == destination.length() / 1000000)
|
||||
mMovedFiles.add(source)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue