Commit 10eedcc4 authored by wanglei's avatar wanglei

...

parent e43e7006
......@@ -43,7 +43,9 @@ class CleaningActivity : BaseActivity<ActivityLayoutCleanupingBinding>() {
MainScope().launch(Dispatchers.IO) {
try {
listPath.forEach { NewFileUtils.delete(it) }
listPath.forEach {
runCatching { NewFileUtils.delete(it) }
}
MediaStoreUtils.updateMediaStore(this@CleaningActivity, listPath)
} catch (_: Exception) {
} finally {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment