diff --git a/build.gradle b/build.gradle index a10625d07..973538600 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 21 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 - propVersionName = '5.17.9' + propVersionName = '5.17.12' kotlin_version = '1.3.50' } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt index 6e5aab2e0..0adf68bc6 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/asynctasks/CopyMoveTask.kt @@ -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) }