Fixed the issue that the device and user can not be detected
authorsaerome.kim <saerome.kim@samsung.com>
Fri, 8 Nov 2019 06:12:41 +0000 (15:12 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 8 Nov 2019 10:58:19 +0000 (19:58 +0900)
- 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 <saerome.kim@samsung.com>
packaging/capi-network-ua.spec
src/user-awareness-event-handler.c

index d653428c9aaf174b52590c3623daf1c8053691bc..e2a42b52ff102f176e14526e45409543440a7012 100644 (file)
@@ -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
index a36ba8c56ae3a8a5ccce77bd6564ecba5c06aad0..9a293486a215592a1c9381f476ac2f090ffea78f 100644 (file)
@@ -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);