Fix first detection stopped callback due to motion sensor
authorLokesh <l.kasana@samsung.com>
Thu, 7 Nov 2019 08:40:25 +0000 (14:10 +0530)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 15 Nov 2019 09:31:55 +0000 (18:31 +0900)
commit5b087d99d2752fdc4b209875db4f9362b1508e7f
tree3059639304458204496ebd13f3b2191e8e2948b2
parent65d4cb642231727651f3a2e0a8290dc6bc60b648
Fix first detection stopped callback due to motion sensor

_uam_core_handle_detection_stopped() should work only if detection has been
started on that sensor previously.

Change-Id: I32b04ed63bc108606a59c0d64066cf9efa42ad52
Signed-off-by: Lokesh <l.kasana@samsung.com>
ua-daemon/src/ua-manager-core.c