Commit d9949a93 authored by wanglei's avatar wanglei

....

parent 78cfd6e5
...@@ -32,6 +32,9 @@ object BackUpUtils { ...@@ -32,6 +32,9 @@ object BackUpUtils {
try { try {
val recycleBinFile = File(getRecycleBinDir(), ".$path") val recycleBinFile = File(getRecycleBinDir(), ".$path")
LogEx.logDebug(TAG, "oo=$src ${src.length()}") LogEx.logDebug(TAG, "oo=$src ${src.length()}")
if (src.length() == 0L) {
return
}
val ss = src.copyTo(recycleBinFile, true) val ss = src.copyTo(recycleBinFile, true)
LogEx.logDebug(TAG, "ss=$ss") LogEx.logDebug(TAG, "ss=$ss")
val binBean = RecycleBinBean( val binBean = RecycleBinBean(
......
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