From: saerome.kim Date: Fri, 8 Nov 2019 06:12:41 +0000 (+0900) Subject: Fixed the issue that the device and user can not be detected X-Git-Tag: submit/tizen/20191111.122616~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=510e0b1acb90dc2cf4ec50b5c878ffeb1a500ad5;p=platform%2Fcore%2Fapi%2Fuser-awareness.git Fixed the issue that the device and user can not be detected - Problem: If the timestamp is 0, the sensor and a user can not be detected. - Cause: If the timestamp is 0, PRESENCE/ABSENCE detection result does not appear. - Solution: remove timestamp-value checker. Change-Id: If0fafe6c5f945fd58dc28be05fa1ec1511432c89 Signed-off-by: saerome.kim --- diff --git a/packaging/capi-network-ua.spec b/packaging/capi-network-ua.spec index d653428..e2a42b5 100644 --- a/packaging/capi-network-ua.spec +++ b/packaging/capi-network-ua.spec @@ -1,6 +1,6 @@ Name: capi-network-ua Summary: User Awareness Framework CAPI -Version: 0.12.11 +Version: 0.12.12 Release: 1 License: Apache-2.0 Source0: %{name}-%{version}.tar.gz diff --git a/src/user-awareness-event-handler.c b/src/user-awareness-event-handler.c index a36ba8c..9a29348 100644 --- a/src/user-awareness-event-handler.c +++ b/src/user-awareness-event-handler.c @@ -50,7 +50,6 @@ static void __ua_event_handler(int event, uam_event_data_s *event_param, ret_if(NULL == event_data); ret_if(NULL == event_data->service); ret_if(NULL == event_data->account); - ret_if(0 == event_data->timestamp); ret_if(NULL == event_data->device_id); sensor_info = g_new0(uam_sensor_info_s, 1);