Change implentation for ua_service_add_user 14/258414/10
authorrohit singh <rohit.singh@samsung.com>
Sun, 16 May 2021 13:21:34 +0000 (18:51 +0530)
committerrohit singh <rohit.singh@samsung.com>
Tue, 25 May 2021 06:59:18 +0000 (12:29 +0530)
commitbfa397530ec2911f04c70e69a6b399d609bb2b22
treecafaefcb9c6255c301dc3d40ad22cf9abded9271
parentd36b2ab9d6b4d1102f745d3d096baa7f93497e13
Change implentation for ua_service_add_user

Issue: Earlier ua_service_add_user is not having the support for Service -> User -> Device
hierarchy structure.

Solution: Added implementation to maintain service_user mapping at the daemon side so that
whenever a device gets added to user it automatically gets added to the respective
service with which the user is mapped to.

Change-Id: I4cfca7db3f6e8fa6616d68c0570f86f23838022c
Signed-off-by: rohit.singh <rohit.singh@samsung.com>
ua-daemon/include/ua-manager-core.h
ua-daemon/src/ua-manager-core.c