return;
}
+#ifdef __MMI_SLEEP_FUNCTION_SUPPORT__
+ if(true == mmi_watch_time_is_in_sleep_time())
+ {
+ return;
+ }
+#endif
+
if(true == mmi_remind_screen_is_active())
{
return;
MMI_MAIN_MENU_STYLE_E style_value = MMI_MAIN_MENU_STYLE_MAX;
watch_menu_app_cnt = 0;
- mmi_main_menu_style_nv_read();
+ //mmi_main_menu_style_nv_read();
style_value = mmi_main_menu_style_get();
printf("[@CHENG_DEBUG][%s][%d]: style_value=%d\n", __FUNCTION__, __LINE__, style_value);
if(true == is_change_style)
{
- lv_watch_obj_cleanup(obj);
- setting_main_menu_switch_prepare_destory(NULL);
+ // lv_watch_obj_cleanup(obj);
+ // setting_main_menu_switch_prepare_destory(NULL);
printf("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__);
lv_watch_go_home();
launcher_recreate();
#ifdef __MMI_USER_PROFILE_SUPPORT__
mmi_watch_user_profile_nv_read();
#endif
+ mmi_main_menu_style_nv_read();
#ifdef __MMI_CUSTOM_HENGAI_HEALTH__
mmi_hengai_health_data_nv_read();