do not rescan paths after copying/moving
This commit is contained in:
parent
cb84ce70db
commit
f4794baa2d
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.17.9'
|
||||
propVersionName = '5.17.12'
|
||||
kotlin_version = '1.3.50'
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue