add new path for the data disc 86/101686/1
authorYong Yeon Kim <yy9875.kim@samsung.com>
Fri, 2 Dec 2016 03:26:59 +0000 (12:26 +0900)
committerYong Yeon Kim <yy9875.kim@samsung.com>
Fri, 2 Dec 2016 03:47:59 +0000 (19:47 -0800)
Change-Id: Id19d348f8dbc6403e24d847bca8840d271a0218d

src/media_util_private.c

index 07e60a5..666c341 100755 (executable)
@@ -139,6 +139,8 @@ int _media_util_check_ignore_dir(const char *dir_path, bool *ignore)
                                break;
                        } else if ((storage_type == MEDIA_SVC_STORAGE_EXTERNAL) && (STRING_VALID(MEDIA_ROOT_PATH_SDCARD)) && (strcmp(search_path, MEDIA_ROOT_PATH_SDCARD) == 0)) {
                                break;
                                break;
                        } else if ((storage_type == MEDIA_SVC_STORAGE_EXTERNAL) && (STRING_VALID(MEDIA_ROOT_PATH_SDCARD)) && (strcmp(search_path, MEDIA_ROOT_PATH_SDCARD) == 0)) {
                                break;
+                       } else if ((storage_type == MEDIA_SVC_STORAGE_EXTERNAL_USB) && (STRING_VALID(MEDIA_ROOT_PATH_DISC)) && (strcmp(search_path, MEDIA_ROOT_PATH_DISC) == 0)) {
+                               break;
                        } else if (storage_type == MEDIA_SVC_STORAGE_EXTERNAL_USB) {
                                char *parent_folder_path = NULL;
                                bool is_root = FALSE;
                        } else if (storage_type == MEDIA_SVC_STORAGE_EXTERNAL_USB) {
                                char *parent_folder_path = NULL;
                                bool is_root = FALSE;