Merge branch 'master' into dev_robouiadapter_1062_221117_1.6.2
# Conflicts: # OCH/mogo-och-bus-passenger/src/main/res/layout/bus_p_route_fragment.xml # OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/VideoActivity.kt # OCH/mogo-och-taxi-passenger/src/main/res/layout/taxi_p_passenger_check_panel.xml # OCH/mogo-och-taxi/src/main/res/layout/taxi_being_order.xml # OCH/mogo-och-taxi/src/main/res/layout/taxi_navi_view.xml # app/src/main/java/com/mogo/launcher/MogoApplication.java # core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt # core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_auto_pilot_check.xml # core/function-impl/mogo-core-function-hmi/src/main/res/values-xhdpi-2560x1440/color.xml # gradle.properties
This commit is contained in:
@@ -55,7 +55,7 @@ class PushViewModel(
|
||||
VOICE_ACTION_PUSH_MAIN -> {
|
||||
AnalyticsUtils.track(Config.NEWS_CARD_CLICK, "trigger_type", isClick)
|
||||
if (isClick == "2") {
|
||||
mVoiceClient.speakTTSVoice("好的", voiceCmdCallback)
|
||||
mVoiceClient.speakTTSVoiceWithLevel("好的",AIAssist.LEVEL1, voiceCmdCallback)
|
||||
}
|
||||
if (it.mainSchema.isNotEmpty()) {
|
||||
dealSchema(it.mainSchema, mContext)
|
||||
@@ -71,7 +71,7 @@ class PushViewModel(
|
||||
isClick, "btn_text", it.buttons[0].text
|
||||
)
|
||||
if (isClick == "2") {
|
||||
mVoiceClient.speakTTSVoice("好的", voiceCmdCallback)
|
||||
mVoiceClient.speakTTSVoiceWithLevel("好的", AIAssist.LEVEL1,voiceCmdCallback)
|
||||
}
|
||||
if (it.buttons[0].action.isNotEmpty()) {
|
||||
dealSchema(it.buttons[0].action, mContext)
|
||||
@@ -87,7 +87,7 @@ class PushViewModel(
|
||||
isClick, "btn_text", it.buttons[1].text
|
||||
)
|
||||
if (isClick == "2") {
|
||||
mVoiceClient.speakTTSVoice("好的", voiceCmdCallback)
|
||||
mVoiceClient.speakTTSVoiceWithLevel("好的",AIAssist.LEVEL1 ,voiceCmdCallback)
|
||||
}
|
||||
if (it.buttons[1].action.isNotEmpty()) {
|
||||
dealSchema(it.buttons[1].action, mContext)
|
||||
@@ -100,7 +100,7 @@ class PushViewModel(
|
||||
isClick
|
||||
)
|
||||
if (isClick == "2") {
|
||||
mVoiceClient.speakTTSVoice("好的", voiceCmdCallback)
|
||||
mVoiceClient.speakTTSVoiceWithLevel("好的",AIAssist.LEVEL1, voiceCmdCallback)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -170,7 +170,7 @@ class PushViewModel(
|
||||
}
|
||||
|
||||
fun speakDefault(voice: String) {
|
||||
mVoiceClient.speakTTSVoice(voice, voiceCmdCallback)
|
||||
mVoiceClient.speakTTSVoiceWithLevel(voice,AIAssist.LEVEL3 ,voiceCmdCallback)
|
||||
}
|
||||
|
||||
fun pauseAnimator(on: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user