#include "utils.h"
#include "multi_target_resolver.h"
#include "ni_common.h"
-
-#include <vector>
+#include "profile_common.h"
+#include "privilege_common.h"
+#include "launcher_env.h"
#ifdef LOG_TAG
#undef LOG_TAG
typedef struct _xmlDoc xmlDoc;
typedef xmlDoc* xmlDocPtr;
-bool pluginInstalled = false;
+static bool pluginInstalled = false;
extern "C" int PKGMGR_PARSER_PLUGIN_INSTALL(xmlDocPtr doc, const char* pkgId)
{
return 0;
}
- if (removeAppProfileData(pkgId) != NI_ERROR_NONE) {
+ if (removeAppProfileData(pkgId) != PROFILE_ERROR_NONE) {
_ERR("Failed to remove [%s] profile data", pkgId);
}
_ERR("Failed to resolve platform specific resources of nuget");
}
+ checkInternetPrivilegeAndDisableIPv6(pkgId, rootPath);
+
return 0;
}
extern "C" int PKGMGR_PARSER_PLUGIN_UPGRADE(xmlDocPtr doc, const char* pkgId)