Modify to store last seen information of device added by service in DB
authorsaerome.kim <saerome.kim@samsung.com>
Wed, 20 Nov 2019 11:10:56 +0000 (20:10 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Thu, 21 Nov 2019 05:39:43 +0000 (14:39 +0900)
commit4d5b9342457eff62d2ea384c7737babc73d9cfe3
treeca1ee9b566884c2ed1e12205633388c9ef4fece0
parent5ba6ce3b84731f7415d4f2f213c3af79ddb4e4c8
Modify to store last seen information of device added by service in DB

- Problem: Once a client app restarts, the previous last seen information is 0.
- Cause: As a requirement, last seen information of service-specific device
  should be stored in DB
- Solution: Save the last seen information to the DB.

Change-Id: I26cf7e9970ea644a63d098c49fe34943395f974d
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
16 files changed:
include/ua-api.h
include/ua-internal.h
packaging/ua-manager.spec
ua-api/src/ua-api.c
ua-api/src/ua-event-handler.c
ua-daemon/data/ua_db.sql
ua-daemon/include/ua-manager-core.h
ua-daemon/include/ua-manager-database.h
ua-daemon/src/pm/ua-pm-util.c
ua-daemon/src/ua-manager-core.c
ua-daemon/src/ua-manager-db.c
ua-daemon/src/ua-manager-device-db.c
ua-daemon/src/ua-manager-device-service-db.c
ua-daemon/src/ua-manager-request-handler.c
ua-daemon/src/ua-manager-service-db.c
ua-plugins/include/ua-plugin.h