BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libtzplatform-config)
-BuildRequires: pkgconfig(capi-system-system-settings)
BuildRequires: pkgconfig(mount)
%description
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <system_settings.h>
+#include <vconf.h>
#include "common.h"
#include "list.h"
if (found && st) {
snprintf(root, sizeof(root), "%s", st->root());
if (type == STORAGE_DIRECTORY_SYSTEM_RINGTONES) {
- ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE, &temp2);
- if (ret < 0) {
- _E("Failed to get ringtone path : %d", ret); //LCOV_EXCL_LINE
+ temp2 = vconf_get_str(VCONFKEY_SETAPPL_CALL_RINGTONE_PATH_STR);
+ if (temp2 == NULL)
return STORAGE_ERROR_OPERATION_FAILED;
- }
end = strrchr(temp2, '/');
if (end)
*end = '\0';