fix: 解决用户退出登录后,出现路径循环套用的问题
This commit is contained in:
parent
f63bbeb8fe
commit
a220cf8b2e
@ -36,7 +36,8 @@ public class Constant {
|
||||
public static final String GET_ERR_MESSAGE3 = "自动加载libtencentloc.so失败";
|
||||
|
||||
|
||||
public static String BASE_FOLDER = SdkFolderCreate.getSDPath() + "/navinfoOutDoor";
|
||||
public static final String ROOT_FOLDER = SdkFolderCreate.getSDPath() + "/navinfoOutDoor";
|
||||
public static String BASE_FOLDER = ROOT_FOLDER;
|
||||
// 保存图片的目录
|
||||
public static String PICTURE_FOLDER;
|
||||
|
||||
@ -45,11 +46,11 @@ public class Constant {
|
||||
public static String SHARED_PREFERENCES = "navInfo";
|
||||
public static String DATA_FILE = "dataFile";
|
||||
//下载文件
|
||||
public static final String NABISCO_APk = BASE_FOLDER + "/apk/";
|
||||
public static final String NABISCO_APk = ROOT_FOLDER + "/apk/";
|
||||
public static int TelLength=0;
|
||||
|
||||
public static void initRootFolder(String userId) {
|
||||
BASE_FOLDER += "/" + userId;
|
||||
BASE_FOLDER = ROOT_FOLDER +"/" + userId;
|
||||
PICTURE_FOLDER = BASE_FOLDER + "/picture";
|
||||
POI_DAO = BASE_FOLDER + "/BaseDao/";
|
||||
VIDEOS_ = BASE_FOLDER + "/videos";
|
||||
|
Loading…
x
Reference in New Issue
Block a user