gengxin
authorCCC <2393524978@qq.com>
Fri, 27 Oct 2023 06:09:49 +0000 (14:09 +0800)
committerCCC <2393524978@qq.com>
Fri, 27 Oct 2023 06:09:49 +0000 (14:09 +0800)
2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c
2.sdk/sdk/gui/lv_watch/mmi_sundry/mmi_sundry.c

index 5183487..18db76f 100644 (file)
@@ -373,7 +373,11 @@ bool mmi_protocol_action_send_talk(char * data_buff, int data_buff_len)
        if(false == mmi_protocol_check_state_before_send_action())
                return false;
        
+#ifdef __MMI_WECHAT_SUPPORT__
        return mmi_protocol_fzd_ACTION_TALK(data_buff, data_buff_len);
+#else
+       return false;
+#endif
 }
 
 bool mmi_protocol_action_send_photo(uint8_t type, char * time_str, char * data_buff, int data_buff_len)
index 678dd9a..28311a7 100644 (file)
@@ -253,6 +253,8 @@ void mmi_watch_searching_aciton(void)
        {
                return ;
        }
+
+#ifdef __MMI_WECHAT_SUPPORT__
        if(true == wechat_msg_voice_is_recording()
                || true == wechat_msg_item_is_sending()
                || true == wechat_msg_voice_is_playing()
@@ -260,6 +262,7 @@ void mmi_watch_searching_aciton(void)
        {
                return;
        }
+#endif
 
        if(NULL != lv_watch_get_activity_obj(ACT_ID_WATCH_SEARCHING))
        {