do not rescan paths after copy/move in some cases
This commit is contained in:
parent
a4d2ad8346
commit
019b93e2c6
2 changed files with 3 additions and 5 deletions
|
@ -7,7 +7,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.19.9'
|
||||
propVersionName = '5.19.10'
|
||||
kotlin_version = '1.3.50'
|
||||
}
|
||||
|
||||
|
|
|
@ -360,10 +360,8 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
|
|||
if (updatedPaths.isEmpty()) {
|
||||
copyMoveListener.copySucceeded(false, fileCountToCopy == 0, destination)
|
||||
} else {
|
||||
rescanPaths(updatedPaths) {
|
||||
runOnUiThread {
|
||||
copyMoveListener.copySucceeded(false, fileCountToCopy <= updatedPaths.size, destination)
|
||||
}
|
||||
runOnUiThread {
|
||||
copyMoveListener.copySucceeded(false, fileCountToCopy <= updatedPaths.size, destination)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue