逻辑迁移完毕,待测

This commit is contained in:
tongchenfei
2020-06-08 17:12:15 +08:00
parent c712b6f03b
commit c0dd5d3161
8 changed files with 585 additions and 658 deletions

View File

@@ -51,6 +51,17 @@ public class DebugConfig {
private static int sNetMode = NET_MODE_RELEASE;
/**
* 语音使用同行者
*/
public static final int AI_TYPE_TXZ = 1;
/**
* 语音使用思必驰
*/
public static final int AI_TYPE_SPEECH = 2;
private static int sAIType = AI_TYPE_TXZ;
/**
* 获取网络环境类型
*
@@ -99,4 +110,16 @@ public class DebugConfig {
public static void setUseCustomNavi( boolean sUseCustomNavi ) {
DebugConfig.sUseCustomNavi = sUseCustomNavi;
}
/**
* 设置使用哪个语音助手
* @param aiType AI_TYPE_TXZ AI_TYPE_SPEECH
*/
public static void setAIType(int aiType){
sAIType = aiType;
}
public static int getAIType(){
return sAIType;
}
}