do not rescan paths after copying/moving

This commit is contained in:
tibbi 2019-09-06 12:04:15 +02:00
parent cb84ce70db
commit f4794baa2d
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ buildscript {
propMinSdkVersion = 21
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1
propVersionName = '5.17.9'
propVersionName = '5.17.12'
kotlin_version = '1.3.50'
}

View file

@ -237,7 +237,7 @@ class CopyMoveTask(val activity: BaseSimpleActivity, val copyOnly: Boolean = fal
copyOldLastModified(source.path, destination.path)
File(destination.path).setLastModified(File(source.path).lastModified())
}
activity.scanPathRecursively(destination.path)
if (!copyOnly) {
activity.deleteFromMediaStore(source.path)
}