Add condition for detecting externally-installed pkg 08/184808/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 23 Jul 2018 08:51:03 +0000 (17:51 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 23 Jul 2018 08:54:17 +0000 (08:54 +0000)
- Now db recovery requests tries to detect given pkg is
  installed at external storage or not.

Change-Id: I74858c14eeb25cd4e9606d2ddf4884de74af0e61
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/configuration/step_parse_manifest.cc

index 2bf10078e56eed68f59860129bb7329ecd1a3dbb..183f9bd25b26fb9f9cf057097e4116e2a558df7c 100644 (file)
@@ -251,7 +251,8 @@ bool StepParseManifest::FillPackageInfo(manifest_x* manifest) {
   if (req_type == RequestType::ManifestDirectInstall ||
       req_type == RequestType::ManifestDirectUpdate ||
       req_type == RequestType::ManifestPartialInstall ||
-      req_type == RequestType::ManifestPartialUpdate) {
+      req_type == RequestType::ManifestPartialUpdate ||
+      req_type == RequestType::RecoverDB) {
     App2ExtDynamicService service;
     std::string image_path = service.GetExternalImagePath(
         context_->pkgid.get().c_str(), context_->uid.get());