[UTC][push][Non-ACR][Fix for issue when push message comes later sometimes; gives...
authorYounho Park <younho.park@samsung.com>
Fri, 2 Sep 2016 02:45:38 +0000 (11:45 +0900)
committerYounho Park <younho.park@samsung.com>
Fri, 2 Sep 2016 02:45:38 +0000 (11:45 +0900)
Change-Id: Ibac337c17b7bc52d1393bec2b164fe89eb4ddc13
Signed-off-by: Younho Park <younho.park@samsung.com>
src/utc/push/utc-sppc-service.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index adec125..d478440
@@ -271,7 +271,8 @@ static void _st_cb(push_service_state_e st, const char *err, void *data)
                 }
             /* get unread notification async */
             } else if(CMD_UNREAD_ASYNC == pt->cmd) {
-                _LOG("push_service_request_unread_notification() function is being called.");
+                _LOG("push_service_request_unread_notification() function is being called after 1 second.");
+               sleep(1);
                 int ret = push_service_request_unread_notification(pv->conn);
                 if(PUSH_SERVICE_ERROR_NONE != ret) {
                     _LOG("push_service_request_unread_notification() function failed!");