#include <string>
#include <vector>
+#include <policy/AppInfo.h>
#include <types/PolicyTypes.h>
namespace AskUser {
namespace PrivilegeInfo {
- std::vector<Privilege> getPrivilegeMapping(const std::string &appId,
+ std::vector<Privilege> getPrivilegeMapping(AppInfo &appInfo,
+ const std::string &appId,
const Privilege &privilege);
std::vector<Privacy> getPrivilegesPrivacies(const std::vector<std::string> &corePrivileges);
bool isPrivacy(const Privilege &privilege);