Detection stopped event updated with detection cycle mid/end
authorLokesh <l.kasana@samsung.com>
Wed, 6 Nov 2019 10:12:39 +0000 (15:42 +0530)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 15 Nov 2019 09:11:01 +0000 (18:11 +0900)
commitfb85cbef0f170ebcae7a51137d5f99d83132efdb
tree412c72fcb7060b8bfb4e1382c5d31d7bb5772a33
parent2ac6bdb7cbc632f8fc4f5a1b3e4cc0c77b622dae
Detection stopped event updated with detection cycle mid/end

Every one minute we receive environmental presence/absence and detection
stopped calls. Earlier _uam_core_handle_detection_stopped() sends
detection_stopped_event which then called __ua_user_state_clean() and
cleaned recorded WIFI/BLE data in CAPI. Hence it cannot be used for
next one minute cycles of environmental sensors.

Change-Id: Ibad4cbf5e05840b31a593984a0f00f1ca4b72ae9
Signed-off-by: Lokesh <l.kasana@samsung.com>
include/ua-api.h
ua-api/src/ua-event-handler.c
ua-daemon/src/ua-manager-core.c