#include "vc-core-error.h"
#include "vc-core-engine-types.h"
-#ifdef DRM_USED
-#include "drm-service-types.h"
-#include "drm-service.h"
-#endif
-
#include "TelDefines.h"
#include "TelNetwork.h"
#include "TelSim.h"
if (strlen(papp_snd->ring_tone) <= 0) {
setting_file_path = vconf_get_str(VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR);
-#ifdef DRM_USED
- if ((setting_file_path == NULL) || (strlen(setting_file_path) <= 0) ||
- (FALSE == g_file_test(setting_file_path, G_FILE_TEST_EXISTS)) ||
- (FALSE == voicecall_util_is_valid_drm_file(setting_file_path, DRM_PERMISSION_PLAY)))
-#else
if ((setting_file_path == NULL) || (strlen(setting_file_path) <= 0) ||
(FALSE == g_file_test(setting_file_path, G_FILE_TEST_EXISTS)))
-#endif
{
CALL_ENG_DEBUG(ENG_ERR, "setting ring tone path is invalid : [%s]\n", setting_file_path);
/*snprintf(ringtone_path, sizeof(ringtone_path), "file://%s", VOICE_CALL_SND_DEFAULT_RINGTONE_PATH);*/