gengxin
authorCCC <2393524978@qq.com>
Sat, 14 Oct 2023 08:03:11 +0000 (16:03 +0800)
committerCCC <2393524978@qq.com>
Sat, 14 Oct 2023 08:03:11 +0000 (16:03 +0800)
2.sdk/sdk/gui/lv_watch/lv_apps/sos/sos.c

index 269a3dd..f661e18 100644 (file)
@@ -233,6 +233,13 @@ lv_obj_t * sos_create(lv_obj_t * activity_obj)
 
 lv_res_t mmi_key_back_sos_btn_action(void)
 {
+#ifdef __MMI_ZHSX_SUPPORT_DO_NOT_DISTURB__
+       if(true == mmi_watch_is_in_do_not_disturb_time())
+       {
+               return LV_RES_OK;
+       }
+#endif
+
        lv_obj_t * phone_obj = lv_watch_get_activity_obj(ACT_ID_PHONE);
        if(phone_obj) 
        {