Change-Id: If304c37d9aa7bdee54226be7f708df0677a65193
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
/* Check the time changed event */
if (!strcmp(name, VCONFKEY_SYSTEM_TIME_CHANGED)) {
_D("ambient_mode: %d", watch_data->ambient_mode);
+ __get_timeinfo(&timeinfo);
if (watch_data->ambient_mode) {
if (alarm_id) {
alarmmgr_remove_alarm(alarm_id);
alarm_id = 0;
}
__set_ambient_tick_cb();
- __get_timeinfo(&timeinfo);
priv.ops->ambient_tick(&timeinfo, priv.ops->data);
+ } else {
+ priv.ops->time_tick(&timeinfo, priv.ops->data);
}
return;