gengxin
authorCCC <2393524978@qq.com>
Wed, 23 Aug 2023 02:30:05 +0000 (10:30 +0800)
committerCCC <2393524978@qq.com>
Wed, 23 Aug 2023 02:30:05 +0000 (10:30 +0800)
2.sdk/sdk/gui/lv_watch/mmi_sundry/mmi_sundry.c

index 5e3e3c1..ebc9eb8 100644 (file)
@@ -780,14 +780,17 @@ static lv_obj_t * mmi_watch_do_not_disturb_screen_create(lv_obj_t * activity_obj
 
 void mmi_ui_msg_update_do_not_disturb(uint8_t flag)
 {
+#if 0
        if(flag)
                mmi_watch_do_not_disturb_screen_create(NULL);
        else
                mmi_watch_do_not_disturb_screen_prepare_destory(NULL);
+#endif
 }
 
 void mmi_watch_do_not_disturb_screen_check(void)
 {
+#if 0
        lv_obj_t * activity_obj = lv_watch_get_activity_obj(ACT_ID_DO_NOT_DISTURB);
        if(true == mmi_watch_is_in_do_not_disturb_time())
        {
@@ -803,6 +806,7 @@ void mmi_watch_do_not_disturb_screen_check(void)
                        mmi_ui_msg_action_do_not_disturb(0);
                }
        }
+#endif
 }
 #endif