Do not fail installation if application has no privileges 19/56419/2
authorTomasz Iwanek <t.iwanek@samsung.com>
Thu, 7 Jan 2016 14:47:14 +0000 (15:47 +0100)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 8 Jan 2016 02:16:33 +0000 (18:16 -0800)
Change-Id: I5f41e6c243c495127920cbdba4eba2abd777d8c4

src/common/step/step_privilege_compatibility.cc

index 46226e7..17e7534 100644 (file)
@@ -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