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:37:20 +0000 (14:37 +0900)
commitb97d1b65964060682743ff1d3410bc92faf2921a
tree4a3ca7fc19933e62ac11e19ffc1f7c48f5712d93
parentc0e17b271b178f65acb860d7354b815fd0b1f367
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: I14249599db420b25e47098c83eaa17ed1d65182e
Signed-off-by: Lokesh <l.kasana@samsung.com>
ua-daemon/src/ua-manager-core.c