version:1.4
update:2021-10-21 10:14:40 fix: add:增加浏览器桌面检测升级,修复重复请求
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package com.aoleyun.sn.manager;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import com.aoleyun.sn.utils.JGYUtils;
|
||||
import com.blankj.utilcode.util.PathUtils;
|
||||
import com.aoleyun.sn.utils.Logutils;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -31,12 +32,12 @@ public class FileManager {
|
||||
}
|
||||
|
||||
private static void initFolder() {
|
||||
File file = new File(PathUtils.getExternalDownloadsPath() + File.separator + "jgy" + File.separator);
|
||||
File file = new File(JGYUtils.getInstance().getDownLoadPath());
|
||||
if (!file.exists()) {
|
||||
if (file.mkdirs()) {
|
||||
Logutils.e("initFolder", "initFolder: success");
|
||||
Log.e("initFolder", "initFolder: success");
|
||||
} else {
|
||||
Logutils.e("initFolder", "initFolder: failed");
|
||||
Log.e("initFolder", "initFolder: failed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user