Merge remote-tracking branch 'origin/feature/v1.0.5' into feature/v1.0.5

This commit is contained in:
董宏宇
2020-05-07 18:55:38 +08:00

View File

@@ -340,10 +340,11 @@ public class AIAssist implements VoiceClient.VoiceCmdCallBack, OnTtsListener {
callBacks.remove( callBack );
}
if ( callBacks.isEmpty() ) {
mCmdMap.remove( cmd );
mVoiceClient.unRegisterCustomWakeupCmd( cmd );
mCacheUnWakeupCommands.remove( cmd );
}
}
mVoiceClient.unRegisterCustomWakeupCmd( cmd );
}
public static void startAssistant( Context context ) {