@@ -50,25 +50,8 @@ public class DebugConfig {
|
||||
*/
|
||||
public static final int NET_MODE_RELEASE = 3;
|
||||
|
||||
|
||||
private static int sNetMode = NET_MODE_RELEASE;
|
||||
|
||||
/**
|
||||
* 不使用语音助手
|
||||
*/
|
||||
public static final int AI_TYPE_NOOP = 0;
|
||||
|
||||
/**
|
||||
* 语音使用同行者
|
||||
*/
|
||||
public static final int AI_TYPE_TXZ = 1;
|
||||
/**
|
||||
* 语音使用思必驰
|
||||
*/
|
||||
public static final int AI_TYPE_SPEECH = 2;
|
||||
|
||||
private static final int sAIType = AI_TYPE_TXZ;
|
||||
|
||||
/**
|
||||
* 自研车机
|
||||
*/
|
||||
@@ -189,16 +172,6 @@ public class DebugConfig {
|
||||
DebugConfig.sRequestOnlineCarData = sRequestOnlineCarData;
|
||||
}
|
||||
|
||||
public static boolean sUseCustomMap = true;
|
||||
|
||||
public static boolean isUseCustomMap() {
|
||||
return sUseCustomMap;
|
||||
}
|
||||
|
||||
public static void setUseCustomMap(boolean sUseCustomMap) {
|
||||
DebugConfig.sUseCustomMap = sUseCustomMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否支持临时激活小智
|
||||
*/
|
||||
@@ -247,59 +220,6 @@ public class DebugConfig {
|
||||
return sSocketAppId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 道路事件动画
|
||||
*/
|
||||
private static boolean sRoadEventAnimated = false;
|
||||
|
||||
public static boolean isRoadEventAnimated() {
|
||||
return sRoadEventAnimated;
|
||||
}
|
||||
|
||||
public static void setRoadEventAnimated(boolean sRoadEventAnimated) {
|
||||
DebugConfig.sRoadEventAnimated = sRoadEventAnimated;
|
||||
}
|
||||
|
||||
|
||||
private static boolean sLoadGuideModule = false;
|
||||
|
||||
public static void setLoadGuideModule(boolean sLoadGuideModule) {
|
||||
DebugConfig.sLoadGuideModule = sLoadGuideModule;
|
||||
}
|
||||
|
||||
public static boolean isLoadGuideModule() {
|
||||
return sLoadGuideModule;
|
||||
}
|
||||
|
||||
public static String SP_GUIDE = "SP_GUIDE_2020_09_09";
|
||||
|
||||
public static String getSpGuide() {
|
||||
return SP_GUIDE;
|
||||
}
|
||||
|
||||
private static boolean isSkinSupported = false;
|
||||
|
||||
public static void setSkinSupported(boolean isSkinSupported) {
|
||||
DebugConfig.isSkinSupported = isSkinSupported;
|
||||
}
|
||||
|
||||
public static boolean isSkinSupported() {
|
||||
return isSkinSupported;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否支持支持查询导航目的地车友信息
|
||||
*/
|
||||
private static boolean isSupportedSearchDestinationOnlineCarList = false;
|
||||
|
||||
public static void setSupportedSearchDestinationOnlineCarList(boolean isSupportedSearchDestinationOnlineCarList) {
|
||||
DebugConfig.isSupportedSearchDestinationOnlineCarList = isSupportedSearchDestinationOnlineCarList;
|
||||
}
|
||||
|
||||
public static boolean isSupportedSearchDestinationOnlineCarList() {
|
||||
return isSupportedSearchDestinationOnlineCarList;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否支持目的地导航推送策略
|
||||
*/
|
||||
@@ -362,15 +282,6 @@ public class DebugConfig {
|
||||
DebugConfig.isMapBased = isMapBased;
|
||||
}
|
||||
|
||||
private static boolean isNeedLoadGuideModule = false;
|
||||
|
||||
public static void setNeedLoadGuideModule(boolean isNeedLoadGuideModule) {
|
||||
DebugConfig.isNeedLoadGuideModule = isNeedLoadGuideModule;
|
||||
}
|
||||
|
||||
public static boolean isNeedLoadGuideModule() {
|
||||
return isNeedLoadGuideModule;
|
||||
}
|
||||
|
||||
private static boolean isNeedHideAdasWhenShare = false;
|
||||
|
||||
@@ -395,56 +306,10 @@ public class DebugConfig {
|
||||
DebugConfig.sIsNeedUploadCoordinatesInTime = sIsNeedUploadCoordinatesInTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否使用工控机定位数据作为自车上报数据
|
||||
*/
|
||||
private static boolean sIsNeedRequestFloatPermission = true;
|
||||
|
||||
public static boolean isNeedRequestFloatPermission() {
|
||||
return sIsNeedRequestFloatPermission;
|
||||
}
|
||||
|
||||
public static void setNeedRequestFloatPermission(boolean sIsNeedRequestFloatPermission) {
|
||||
DebugConfig.sIsNeedRequestFloatPermission = sIsNeedRequestFloatPermission;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否需要请求权限
|
||||
*/
|
||||
private static boolean sIsUseAdasRtkLocationInfo = false;
|
||||
|
||||
public static boolean isUseAdasRtkLocationInfo() {
|
||||
return sIsUseAdasRtkLocationInfo;
|
||||
}
|
||||
|
||||
public static void setUseAdasRtkLocationInfo(boolean sIsUseAdasRtkLocationInfo) {
|
||||
DebugConfig.sIsUseAdasRtkLocationInfo = sIsUseAdasRtkLocationInfo;
|
||||
}
|
||||
|
||||
public static boolean sIsNotSmooth = false;
|
||||
|
||||
public static boolean isNotSmooth() {
|
||||
return sIsNotSmooth;
|
||||
}
|
||||
|
||||
public static void setNotSmooth(boolean sIsNotSmooth) {
|
||||
DebugConfig.sIsNotSmooth = sIsNotSmooth;
|
||||
}
|
||||
|
||||
public static boolean isOCHModule() {
|
||||
return sProductFlavor != null && sProductFlavor.startsWith("foch");
|
||||
}
|
||||
|
||||
public static int sSelfCarSpeedYOffset = 20;
|
||||
|
||||
public static void setSelfCarSpeedYOffset(int sSelfCarSpeedYOffset) {
|
||||
DebugConfig.sSelfCarSpeedYOffset = sSelfCarSpeedYOffset;
|
||||
}
|
||||
|
||||
public static int getSelfCarSpeedYOffset() {
|
||||
return sSelfCarSpeedYOffset;
|
||||
}
|
||||
|
||||
// 环境状态
|
||||
public static final int sLocation = 0;
|
||||
public static final int sAdasRecognized = 1;
|
||||
|
||||
Reference in New Issue
Block a user