From 30ef387b18854745717b4e5c0ad9bb78d8583c2d Mon Sep 17 00:00:00 2001 From: JongHeon Choi Date: Thu, 30 Jun 2016 17:46:20 +0900 Subject: [PATCH] Already changed the privilege from the launchpad. --- runtime/browser/prelauncher.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/browser/prelauncher.cc b/runtime/browser/prelauncher.cc index 278e850..7aba142 100755 --- a/runtime/browser/prelauncher.cc +++ b/runtime/browser/prelauncher.cc @@ -32,6 +32,7 @@ namespace runtime { +/* Already changed the privilege from the launchpad. namespace { std::string g_smacklabel; @@ -81,7 +82,7 @@ void ChangePrivilegeForThreads(const std::string& appid) { } } // namespace - +*/ PreLauncher::PreLauncher() { ecore_init(); @@ -144,7 +145,8 @@ int PreLauncher::Prelaunch(int argc, char* argv[], const char *appid, const char *pkgid, const char *pkg_type, void *user_data) { PreLauncher* launcher = static_cast(user_data); - ChangePrivilegeForThreads(appid); + /* Already changed the privilege from the launchpad. */ + //ChangePrivilegeForThreads(appid); launcher->didstart_(app_path); return 0; }; -- 2.7.4