gengxin
authorCCC <2393524978@qq.com>
Wed, 20 Sep 2023 12:17:29 +0000 (20:17 +0800)
committerCCC <2393524978@qq.com>
Wed, 20 Sep 2023 12:17:29 +0000 (20:17 +0800)
2.sdk/sdk/gui/lv_watch/lv_apps/mmi_video_call/mmi_video_call_fzd.c
2.sdk/sdk/gui/lv_watch/lv_apps/mmi_video_call/mmi_video_call_tongxin.c

index 7cd8e2d..211e821 100644 (file)
@@ -1714,6 +1714,11 @@ static void mmi_vc_voice_btn_action(lv_obj_t * btn, lv_event_t e)
         return;
     }
 
+       if(true == mmi_video_call_is_in_call())
+       {
+               return;
+       }
+
     if(true == mmi_vc_check_mo_permission())
        {
                uint8_t index = lv_watch_get_free_num(btn);
@@ -1733,6 +1738,11 @@ static void mmi_vc_video_btn_action(lv_obj_t * btn, lv_event_t e)
         return;
     }
 
+       if(true == mmi_video_call_is_in_call())
+       {
+               return;
+       }
+
     if(true == mmi_vc_check_mo_permission()) 
        {
                uint8_t index = lv_watch_get_free_num(btn);
index a0790dd..ac20700 100644 (file)
@@ -1738,6 +1738,11 @@ static void mmi_vc_voice_btn_action(lv_obj_t * btn, lv_event_t e)
         return;
     }
 
+       if(true == mmi_video_call_is_in_call())
+       {
+               return;
+       }
+
     if(true == mmi_vc_check_mo_permission())
        {
                uint8_t index = lv_watch_get_free_num(btn);
@@ -1757,6 +1762,11 @@ static void mmi_vc_video_btn_action(lv_obj_t * btn, lv_event_t e)
         return;
     }
 
+       if(true == mmi_video_call_is_in_call())
+       {
+               return;
+       }
+
     if(true == mmi_vc_check_mo_permission()) 
        {
                uint8_t index = lv_watch_get_free_num(btn);