diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpScenario.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpScenario.java index e1f35a4d4c..09fa98f8ee 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpScenario.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpScenario.java @@ -67,7 +67,7 @@ public class V2XCarForHelpScenario extends AbsV2XScenario implements IM } else { closeWindow(); } - // return; + return; } if (isShow) { showButton(); @@ -98,8 +98,8 @@ public class V2XCarForHelpScenario extends AbsV2XScenario implements IM public void showWindow() { if (getV2XWindow() != null) { ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( - ViewGroup.LayoutParams.MATCH_PARENT, - (int) V2XUtils.getApp().getResources().getDimension(R.dimen.dp_140)); + ViewGroup.LayoutParams.MATCH_PARENT, + (int) V2XUtils.getApp().getResources().getDimension(R.dimen.dp_140)); V2XServiceManager.getMogoTopViewManager().addView(getV2XWindow().getView(), layoutParams); getV2XWindow().show(getV2XMessageEntity().getContent()); } @@ -107,9 +107,9 @@ public class V2XCarForHelpScenario extends AbsV2XScenario implements IM @Override public void closeWindow() { - if (getV2XWindow() != null) { - getV2XWindow().close(); - } +// if (getV2XWindow() != null) { +// getV2XWindow().close(); +// } } private V2XVoiceCallbackListener cancelCb = null; diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpWindow.java b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpWindow.java index 84b1c8081d..00ecfd0077 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpWindow.java +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/scenario/scene/help/V2XCarForHelpWindow.java @@ -75,10 +75,8 @@ public class V2XCarForHelpWindow extends V2XBasWindow implements IV2XWindow() { @Override public void onSuccess(BaseData result) { - AIAssist.getInstance(V2XUtils.getApp()).speakTTSVoice("已取消", null); //移除窗体 V2XServiceManager.getMogoTopViewManager().removeView(V2XCarForHelpWindow.this); - V2XVoiceManager.INSTANCE.unRegisterWakeCmd(V2XVoiceConstants.COMMAND_ZHIDAO_V2X_CANCEL_HELP); } @Override @@ -86,6 +84,20 @@ public class V2XCarForHelpWindow extends V2XBasWindow implements IV2XWindow