summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuyoung Jang <duyoung.jang@samsung.com>2013-05-14 19:39:02 +0900
committerDuyoung Jang <duyoung.jang@samsung.com>2013-05-14 19:39:02 +0900
commit2359ab5c93daf05f9778dc3a45b93218a877e999 (patch)
treef937ac16e02b01ea3e151c37372a18345fbadcea
parent380387f14ce438450125cbc6e5083b9972722f0a (diff)
downloadinstaller-2359ab5c93daf05f9778dc3a45b93218a877e999.tar.gz
installer-2359ab5c93daf05f9778dc3a45b93218a877e999.tar.bz2
installer-2359ab5c93daf05f9778dc3a45b93218a877e999.zip
Fix Jira issue for smack in case of non-privilegesubmit/tizen_2.1/20130515.031702
Change-Id: I82f1a90dd7f1679ce5d737a20495134f6974b9b9 Signed-off-by: Duyoung Jang <duyoung.jang@samsung.com>
-rwxr-xr-xinc/InstallerDefs.h2
-rwxr-xr-xsrc/Manager/SmackManager.cpp9
2 files changed, 8 insertions, 3 deletions
diff --git a/inc/InstallerDefs.h b/inc/InstallerDefs.h
index b19576b..00e90fb 100755
--- a/inc/InstallerDefs.h
+++ b/inc/InstallerDefs.h
@@ -23,7 +23,7 @@
#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20130514.1]"
+#define OSP_INSTALLER_VERSION "version=[20130514.2]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
diff --git a/src/Manager/SmackManager.cpp b/src/Manager/SmackManager.cpp
index da8dea1..3bd6886 100755
--- a/src/Manager/SmackManager.cpp
+++ b/src/Manager/SmackManager.cpp
@@ -395,8 +395,11 @@ SmackManager::EnablePermissions(const PackageId& packageId)
}
delete[] pList;
}
-
- return true;
+ else
+ {
+ const char* pNullList[1] = {null};
+ res = EnablePermissions(pPackageId.get(), 1, pNullList, true);
+ }
#if 0
if ((__pContext->__isPreloaded == true) && (__pContext->__isUpdated == false))
@@ -431,6 +434,8 @@ SmackManager::EnablePermissions(const PackageId& packageId)
}
}
#endif
+
+ return true;
}
bool