Fixed TSAM-8243 Cannot save recent files 25/90825/1
authorbhutani.92 <bhutani.92@samsung.com>
Tue, 4 Oct 2016 10:23:24 +0000 (15:53 +0530)
committerbhutani.92 <bhutani.92@samsung.com>
Tue, 4 Oct 2016 10:23:24 +0000 (15:53 +0530)
Change-Id: I0d81a76bfaace5388a19f70fb5e353c2baff5510
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/media-db/mf-media-db.c

index 3e11d56..15fe568 100755 (executable)
@@ -99,17 +99,25 @@ typedef struct {
 } mf_tbl_s;
 
 mf_tbl_s mf_tbl[MF_TABLE_NUM] = {
-       {
-               "recent_files",
-               {
-                       {"path", ""}    /* PK */
-                       ,
-                       {"name", ""}
-                       ,
-                       {"storage_type", ""}
-                       ,
-                       {"thumbnail_path", ""}
-               }
+       {"shortcut", {
+                          {"path", ""} /* PK */
+                          ,
+                          {"name", ""} /* PK */
+                          ,
+                          {"storage_type", ""} /* PK */
+                   }
+       }
+       ,
+       {"recent_files", {
+                                 {"path", ""}  /* PK */
+                                 ,
+                                 {"name", ""}
+                                 ,
+                                 {"storage_type", ""}
+                                 ,
+                                 {"thumbnail_path", ""}
+                        }
+
        }
 };