projects
/
mirrors
/
ASR3603_Z5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1421a5c
)
gengxin
author
CCC
<2393524978@qq.com>
Sat, 14 Oct 2023 08:03:11 +0000
(16:03 +0800)
committer
CCC
<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
patch
|
blob
|
history
diff --git
a/2.sdk/sdk/gui/lv_watch/lv_apps/sos/sos.c
b/2.sdk/sdk/gui/lv_watch/lv_apps/sos/sos.c
index
269a3dd
..
f661e18
100644
(file)
--- a/
2.sdk/sdk/gui/lv_watch/lv_apps/sos/sos.c
+++ b/
2.sdk/sdk/gui/lv_watch/lv_apps/sos/sos.c
@@
-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)
{