Allow Id of UI App to be empty if all Service Apps type global 81/226781/13
authorIlho Kim <ilho159.kim@samsung.com>
Thu, 5 Mar 2020 08:07:46 +0000 (17:07 +0900)
committerilho kim <ilho159.kim@samsung.com>
Fri, 3 Apr 2020 05:35:43 +0000 (05:35 +0000)
commit75fe1c6a3878f398eeb908b3a479cba6ef3041b0
treeefa22a6ba0a204d8d9764174b57492d854779fad
parent751e705a5b6a5e6674fc430e9b8f0c898811ab2b
Allow Id of UI App to be empty if all Service Apps type global

The wgt service app should have a dummy ui app even if it is not needed
This patch allows the UI app's ID to be empty if all service app types are global

-Before
 <tizen:application id="appid" package="pkgid" required_version="x.x"/> -> Allow
 <tizen:application package="pkgid" required_version="x.x"/> -> Disallow

-After
 <tizen:application id="appid" package="pkgid" required_version="x.x"/> -> Allow
 <tizen:application package="pkgid" required_version="x.x"/> -> Conditionally Allow(If all service app's types global)

Requires:
 [wgt-manifest-handlers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-manifest-handlers/+/226780/

Change-Id: I2ed942fd7fb16b71a98cdac253bf71ca18cdf067
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/wgt/step/configuration/step_parse.cc
src/wgt/step/configuration/step_parse.h