diff options
-rw-r--r-- | src/lib/launchpad-common/aul_keys.hh | 1 | ||||
-rw-r--r-- | src/lib/launchpad-glib/util.cc | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/launchpad-common/aul_keys.hh b/src/lib/launchpad-common/aul_keys.hh index b923aa4..de54fbf 100644 --- a/src/lib/launchpad-common/aul_keys.hh +++ b/src/lib/launchpad-common/aul_keys.hh @@ -40,7 +40,6 @@ constexpr const char kAulLoaderName[] = "__AUL_LOADER_NAME__"; constexpr const char kAulLoaderPath[] = "__AUL_LOADER_PATH__"; constexpr const char kAulMountAllowedResDir[] = "__AUL_MOUNT_ALLOWED_RES_DIR__"; constexpr const char kAulMountGlobalResDir[] = "__AUL_MOUNT_GLOBAL_RES_DIR__"; -constexpr const char kAulMountResPkgIds[] = "__AUL_MOUNT_RES_PKGIDS__"; constexpr const char kAulMultipleInstanceAppId[] = "__AUL_MULTIPLE_INSTANCE_APPID__"; constexpr const char kAulOrgCallerPid[] = "__AUL_ORG_CALLER_PID__"; diff --git a/src/lib/launchpad-glib/util.cc b/src/lib/launchpad-glib/util.cc index b5861f6..0cf50c4 100644 --- a/src/lib/launchpad-glib/util.cc +++ b/src/lib/launchpad-glib/util.cc @@ -468,19 +468,6 @@ int Util::MountResourceDirectories(const AppInfo* app_info) { if (!allowed_res_dir.empty()) MountDirectories(allowed_res_dir, root_path + "/res/mount/allowed"); - auto res_pkgids = b.GetStringArray(kAulMountResPkgIds); - if (!res_pkgids.empty()) { - std::string pkgids; - for (auto& pkgid : res_pkgids) { - if (!pkgids.empty()) - pkgids += ":"; - - pkgids += pkgid; - } - - setenv("RES_PKGIDS", pkgids.c_str(), 1); - } - return 0; } |