summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b66cf9)
Change-Id: I0cad394115943477ad32b2aa06f2201e3b2b62c9
result
SettingInfo::GetValueForPrivilegedKey(const String& key, bool& value)
{
result
SettingInfo::GetValueForPrivilegedKey(const String& key, bool& value)
{
+ result r = _AccessController::CheckUserPrivilege(_PRV_SETTINGMANAGER_READ);
+ SysTryReturn(NID_SYS, r == E_SUCCESS, E_PRIVILEGE_DENIED, E_PRIVILEGE_DENIED, ("[E_PRIVILEGE_DENIED] The application does not have the privilege to call this method."));
+
return _SettingInfoImpl::GetValueForPrivilegedKey(key, value);
}
return _SettingInfoImpl::GetValueForPrivilegedKey(key, value);
}