opt 查询热心指数语音

This commit is contained in:
tongchenfei
2020-10-21 15:48:47 +08:00
parent 3a47ef4a11
commit c43257cbbc

View File

@@ -39,6 +39,7 @@ public class GlobalUnwakeManager implements IProvider, IMogoIntentListener, IMog
@Override
public void init(Context context) {
Logger.d(TAG, "全局免唤醒模块初始化====");
this.context = context;
intentManager = MogoApisHandler.getInstance().getApis().getIntentManagerApi();
intentManager.registerIntentListener(VOICE_CMD_GO_TO_SHARE, this);
intentManager.registerIntentListener(VOICE_CMD_PUB_TROUBLE_HELP, this);
@@ -46,6 +47,7 @@ public class GlobalUnwakeManager implements IProvider, IMogoIntentListener, IMog
intentManager.registerIntentListener(VOICE_CMD_SHARE_DIALOG_CLOSE, this);
intentManager.registerIntentListener(VOICE_CMD_NO_REPLY_SHARE_DIALOG_CLOSE, this);
intentManager.registerIntentListener(UNWAKE_UPLOAD_ROAD_CONDITION, this);
intentManager.registerIntentListener(VOICE_QUERY_HEART_INDEX, this);
// 免唤醒词注册,全局免唤醒
AIAssist.getInstance(context).registerUnWakeupCommand(UNWAKE_UPLOAD_REAL_TIME_TRAFFIC,