#ifdef _USE_RECORDED_CONTENT
bool ms_is_support_pvr(void)
{
-
- int nSupportPVR = 0;
- if (system_info_get_value_int(SYSTEM_INFO_KEY_PVR_SUPPORTED, &nSupportPVR) != SYSTEM_INFO_ERROR_NONE) {
+ bool bSupportPVR = false;
+ if (system_info_get_custom_bool("com.samsung/featureconf/pvr.pvr_support", &bSupportPVR) != SYSTEM_INFO_ERROR_NONE) {
MS_DBG_ERR("Get PVR Support failed");
return false;
}
- MS_DBG("PVR Support : [%d]", nSupportPVR);
+ MS_DBG("PVR Support : [%d]", bSupportPVR);
- return (nSupportPVR != 0);
+ return bSupportPVR;
}
#endif