Fix codes for ManifestDirectInstall in Hybrid pkg 02/147402/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 4 Sep 2017 08:09:17 +0000 (17:09 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 4 Sep 2017 08:14:55 +0000 (17:14 +0900)
commit0f0538eafbb2361498066f8c1671adf6728e9764
tree2439d688f4aa0251d49e4ef23eff5eea9cca25ec
parent10701396f2b48b43317db12bcbf43733d0fbde8d
Fix codes for ManifestDirectInstall in Hybrid pkg

- Backend couldn't detect hybrid pkg if pkginfo doesn't exist in db.
- ManifestDirectInstall cannot be performed because of reason above.
- So change if statement to check designated directory even if
  there are no information in db.
- RO path will be checked only if given uid is privileged one.

Change-Id: Ic4855cfa1090b1e5bac1b98d6ca69507657de357
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/wgt/wgt_app_query_interface.cc