using namespace WrtDB;
std::string key;
if (m_index == SECURITY_SETTINGS_IDX_SECURITY_POPUP_USAGE) {
- key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getPkgName());
+ key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getTzAppId());
} else if (m_index == SECURITY_SETTINGS_IDX_GEOLOCATION_USAGE) {
- key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getPkgName());
+ key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getTzAppId());
} else if (m_index == SECURITY_SETTINGS_IDX_WEB_NOTIFICATION_USAGE) {
key = VconfConfig::GetVconfKeyWebNotificationUsage(
- m_dao->getPkgName());
+ m_dao->getTzAppId());
} else if (m_index == DEVELOPER_OPTIONS_IDX_MEMORY_SAVING_MODE) {
- key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getPkgName());
+ key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getTzAppId());
} else {
Assert("Wrong menu index");
}
std::string key;
if (m_index == SECURITY_SETTINGS_IDX_SECURITY_POPUP_USAGE) {
- key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getPkgName());
+ key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getTzAppId());
} else if (m_index == SECURITY_SETTINGS_IDX_GEOLOCATION_USAGE) {
- key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getPkgName());
+ key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getTzAppId());
} else if (m_index == SECURITY_SETTINGS_IDX_WEB_NOTIFICATION_USAGE) {
key = VconfConfig::GetVconfKeyWebNotificationUsage(
- m_dao->getPkgName());
+ m_dao->getTzAppId());
} else if (m_index == DEVELOPER_OPTIONS_IDX_MEMORY_SAVING_MODE) {
- key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getPkgName());
+ key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getTzAppId());
} else {
Assert("Wrong menu index");
}