From: Tomasz Iwanek Date: Thu, 7 Jan 2016 14:47:14 +0000 (+0100) Subject: Do not fail installation if application has no privileges X-Git-Tag: accepted/tizen/mobile/20160115.010734~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fee71e259ad1414b16a6dcabedb324f30bddf3e;p=platform%2Fcore%2Fappfw%2Fapp-installers.git Do not fail installation if application has no privileges Change-Id: I5f41e6c243c495127920cbdba4eba2abd777d8c4 --- diff --git a/src/common/step/step_privilege_compatibility.cc b/src/common/step/step_privilege_compatibility.cc index 46226e7..17e7534 100644 --- a/src/common/step/step_privilege_compatibility.cc +++ b/src/common/step/step_privilege_compatibility.cc @@ -44,9 +44,6 @@ bool TranslatePrivilegesForCompatibility(manifest_x* m) { m->privileges, &mapped_privilege_list) != PRVMGR_ERR_NONE) { LOG(ERROR) << "privilege_manager_get_mapped_privilege_list failed"; return false; - } else if (mapped_privilege_list == NULL) { - LOG(ERROR) << "privilege_manager_get_mapped_privilege_list failed"; - return false; } // set pkgmgr new list