fixed the exceptional cases of ringtone path (RSA) tizen_2.1 accepted/tizen/20130520.100832 submit/tizen/20130517.044728 submit/tizen_2.1/20130514.052043
authorMyoungJune Park <mj2004.park@samsung.com>
Sat, 11 May 2013 10:57:34 +0000 (19:57 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Sat, 11 May 2013 10:57:34 +0000 (19:57 +0900)
- default ringtone vconf key isn't while there is in Private

src/system_setting_platform.c

index 8b5d1a2..e53c5c1 100755 (executable)
@@ -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;