From 796dfdb05c199f966152b17bebb5ccbd1d4d0c85 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期五, 27 十一月 2020 14:11:25 +0800
Subject: [PATCH] 9527.加入港台sdk渠道
---
Project/app/src/main/java/com/secondworld/univeralsdk/FileUtil.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Project/app/src/main/java/com/secondworld/univeralsdk/FileUtil.java b/Project/app/src/main/java/com/secondworld/univeralsdk/FileUtil.java
index 68f7468..d9ea465 100644
--- a/Project/app/src/main/java/com/secondworld/univeralsdk/FileUtil.java
+++ b/Project/app/src/main/java/com/secondworld/univeralsdk/FileUtil.java
@@ -109,7 +109,7 @@
String _originalPath = "android" + File.separator + fileName;
String _destPath = context.getExternalFilesDir(
"").getAbsolutePath() + File.separator + fileName;
- String _destDir = _destPath.substring(_destPath.lastIndexOf('/') + 1);
+ String _destDir = _destPath.substring(0, _destPath.lastIndexOf('/') + 1);
File _file = new File(_destDir);
if(!_file.exists())
{
--
Gitblit v1.8.0