Change the last seen that has never been added or detected by the service to 0
authorsaerome.kim <saerome.kim@samsung.com>
Thu, 21 Nov 2019 04:39:37 +0000 (13:39 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Thu, 21 Nov 2019 05:40:00 +0000 (14:40 +0900)
commit592668c670d37d57cd1ba4f64193e9f12a49d40d
tree4a3ca7fc19933e62ac11e19ffc1f7c48f5712d93
parent38f44db5dec3c93b8ef42f86b4a0a1e4fb19155c
Change the last seen that has never been added or detected by the service to 0

- Problem: The last_seen information may not be 0 even if the service is not executed.
- Cause: We are adding the last_seen info regardless the service.
- Solution: The device information added to the service is initialized to 0.

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