set VCONFKEY_SYSTEM_TIME_CHANGED to zero when timezone changes 73/111273/2
authorMyoungJune Park <mj2004.park@samsung.com>
Fri, 20 Jan 2017 05:11:47 +0000 (14:11 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Fri, 20 Jan 2017 05:38:22 +0000 (14:38 +0900)
Change-Id: Iaa23a405d5d4f1fdc96a1f494d9ab7f658e7b691
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
setting-time/src/setting-time-main.c

index 9ab7beae573e4ff9c98f4bdf381e521a21623f37..ec91dbcaeccc77cfce9817ac07682a7dd1bcedbb 100755 (executable)
@@ -289,7 +289,7 @@ static void __update_time_via_sim_card(void *data)
        }
 
        /* time change - event */
-       static int t_event_val = -1;
+       static int t_event_val = 0;
        vconf_set_int(VCONFKEY_SYSTEM_TIME_CHANGED, t_event_val);
 
        FREE(tzpath);
@@ -1247,7 +1247,7 @@ static void _worldclock_reply_cb(app_control_h request, app_control_h reply,
 
        /* update the display for timezone */
        setting_update_timezone(ad);
-       static int t_event_val = -1;
+       static int t_event_val = 0;
        vconf_set_int(VCONFKEY_SYSTEM_TIME_CHANGED, t_event_val);
        if (tzpath)
                FREE(tzpath);