Fix the problem that the device can not be added to default_user accepted/tizen/unified/20191101.042011 submit/tizen/20191030.083316
authorsaerome.kim <saerome.kim@samsung.com>
Wed, 30 Oct 2019 01:54:48 +0000 (10:54 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Wed, 30 Oct 2019 03:17:39 +0000 (12:17 +0900)
commite91851da07b94d2e0582550f2956b048ebab29c5
treeca30ebece690b5f4399b13d8c9ad2434cac09757
parent66f87f8f0aee55f1276f9c5fe7f61bc7cfb61ec6
Fix the problem that the device can not be added to default_user

- Problem: Unable to add device to default_user.
- Cause: ua-manager regards default_user's ID is always 1.
  However, If ua-manager has a problem occurred while accessing user-db,
  so all user information is deleted. In this case the user id of the default user
  is added to a value that is not 1.
- Solution: Deletes the hard-coded default user ID is 1.

Change-Id: I0d79364107aa7416c5b64b9481d2edc83801fbc4
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
packaging/ua-manager.spec
ua-daemon/include/ua-manager-core.h
ua-daemon/src/pm/ua-cloud-plugin-handler.c
ua-daemon/src/ua-manager-core.c
ua-daemon/src/ua-manager-request-handler.c