|
@@ -14,11 +14,9 @@ import android.content.Context;
|
|
|
import android.content.Intent;
|
|
|
import android.net.Uri;
|
|
|
import android.os.Build;
|
|
|
-import android.util.Log;
|
|
|
|
|
|
import androidx.core.content.FileProvider;
|
|
|
|
|
|
-import com.compdfkit.tools.common.utils.CLog;
|
|
|
|
|
|
import java.io.File;
|
|
|
import java.io.FileOutputStream;
|
|
@@ -72,7 +70,6 @@ public class FileUtils {
|
|
|
File dir = new File(savePath);
|
|
|
if (!dir.exists()) {
|
|
|
if (!dir.mkdirs()) {
|
|
|
- CLog.d("FileUtils", "mkdir error: " + savePath);
|
|
|
return null;
|
|
|
}
|
|
|
}
|
|
@@ -98,10 +95,8 @@ public class FileUtils {
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- CLog.d("FileUtils", "[copyFileFromAssets] copy asset file: " + assetName + " to : " + filename);
|
|
|
return file.getAbsolutePath();
|
|
|
} else {
|
|
|
- CLog.d("FileUtils", "[copyFileFromAssets] file is exist: " + filename);
|
|
|
return file.getAbsolutePath();
|
|
|
}
|
|
|
}
|