#include <string>
#include <vector>
+#include <policy/PkgInfo.h>
#include <types/PolicyTypes.h>
struct policy_entry;
class PolicyEntryCopy;
-std::string getOwnAppId();
-void identifyApp(const std::string &client, std::string &appId, std::string &pkgLabel);
+std::string getOwnAppId(PkgInfo &pkgInfo);
+void identifyApp(PkgInfo &pkgInfo, const std::string &client, std::string &appId, std::string &pkgLabel);
std::set<Privilege> getManifestPrivs(const std::string &appId);