Fix in StepUpdateApplication. 08/42208/2
authorPawel Sikorski <p.sikorski@samsung.com>
Wed, 24 Jun 2015 10:35:17 +0000 (12:35 +0200)
committerPawel Sikorski <p.sikorski@samsung.com>
Fri, 26 Jun 2015 07:33:46 +0000 (00:33 -0700)
proper pkgmgr_parser function used in case update is done
for Global user

Change-Id: I8d238804e29724843b3e6e0ae2d867c7dc71f8d7

src/common/step/step_update_app.cc

index 20ebc3e..d9d767f 100644 (file)
@@ -27,8 +27,8 @@ bool UpgradeManifestInformation(uid_t uid, const bf::path& xml_path) {
        pkgmgr_parser_parse_usr_manifest_for_upgrade(
            xml_path.string().c_str(), uid,
            const_cast<char* const*>(kAppinstTags)) :
-       pkgmgr_parser_parse_usr_manifest_for_upgrade(
-           xml_path.string().c_str(), uid,
+       pkgmgr_parser_parse_manifest_for_upgrade(
+           xml_path.string().c_str(),
            const_cast<char* const*>(kAppinstTags));
   return !ret;
 }