-
-
-/* FIXME : If there are no issue reports related to this, it will be deleted in tizen 6.5 or after. */
-char * _media_content_replace_path_in_condition(const char *condition)
-{
- return g_strdup(condition);
-#if 0
- char **split_list = NULL;
- char *result = NULL;
-
- if (!STRING_VALID(MEDIA_ROOT_PATH_INTERNAL_OLD) || !STRING_VALID(MEDIA_ROOT_PATH_INTERNAL))
- return NULL;
-
- content_sec_debug("Old condition[%s]", condition);
-
- split_list = g_strsplit(condition, MEDIA_ROOT_PATH_INTERNAL_OLD, -1);
- if (!split_list)
- return NULL;
-
- result = g_strjoinv(MEDIA_ROOT_PATH_INTERNAL, split_list);
- g_strfreev(split_list);
-
- return result;
-#endif
-}
-
-/* FIXME : If there are no issue reports related to this, it will be deleted in Tizen 6.5 or after. */
-int _media_content_replace_path(const char *path, char *replace_path)
-{
- content_retip_if_fail(STRING_VALID(path));
-
- snprintf(replace_path, MAX_PATH_LEN, "%s", path);
-#if 0
- if (strncmp(path, MEDIA_ROOT_PATH_INTERNAL_OLD, strlen(MEDIA_ROOT_PATH_INTERNAL_OLD)) == 0) {
- content_sec_debug("Old path[%s]", path);
- snprintf(replace_path, MAX_PATH_LEN, "%s%s", MEDIA_ROOT_PATH_INTERNAL, path + strlen(MEDIA_ROOT_PATH_INTERNAL_OLD));
- } else {
- snprintf(replace_path, MAX_PATH_LEN, "%s", path);
- }
-#endif
-
- return MEDIA_CONTENT_ERROR_NONE;
-}
-