From da5592a6de6aaf3382495e83dbee1b6c0b7d7aa3 Mon Sep 17 00:00:00 2001 From: MyoungJune Park Date: Sat, 11 May 2013 19:57:34 +0900 Subject: [PATCH] fixed the exceptional cases of ringtone path (RSA) - default ringtone vconf key isn't while there is in Private --- src/system_setting_platform.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/system_setting_platform.c b/src/system_setting_platform.c index 8b5d1a2..e53c5c1 100755 --- a/src/system_setting_platform.c +++ b/src/system_setting_platform.c @@ -72,7 +72,9 @@ int system_setting_get_incoming_call_ringtone(system_settings_key_e key, system_ if (is_load == 0) { *value = vconf_value; } else { // not zero on errro - *value = vconf_get_str(VCONFKEY_SETAPPL_CALL_RINGTONE_DEFAULT_PATH_STR); + //*value = vconf_get_str(VCONFKEY_SETAPPL_CALL_RINGTONE_DEFAULT_PATH_STR); + //*value = strdup("ERROR"); + return SYSTEM_SETTINGS_ERROR_IO_ERROR; } //*value = vconf_value; -- 2.7.4