Update time when Auto Time Update event is received. 66/223166/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 23 Jan 2020 13:58:27 +0000 (19:28 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 23 Jan 2020 13:58:27 +0000 (19:28 +0530)
When Auto Time Update event is received, update the
system time although default service is not changed.

Change-Id: I205dab72879cf54e0aa31cecd0826d9c8b63736c
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/timeserver.c

index c610346..32f1b01 100755 (executable)
@@ -359,8 +359,10 @@ int __connman_timeserver_sync(struct connman_service *default_service)
        if (!service)
                return -EINVAL;
 
+#if !defined TIZEN_EXT
        if (service == ts_service)
                return -EALREADY;
+#endif
 
        if (!resolv)
                return 0;