Fixed a bug on sorting recent contents
authorKyuho Jo <kyuho.jo@samsung.com>
Wed, 10 May 2017 07:22:14 +0000 (16:22 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:55 +0000 (18:34 +0900)
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Change-Id: I736ccc9e9f811d7ad60a53840e4eb3074badbba9

LibTVRefCommonPortable/Models/RecentShortcutController.cs

index 6845251..5cd8496 100755 (executable)
@@ -133,6 +133,7 @@ namespace LibTVRefCommonPortable.Models
                     recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription);
                     recentShortcutInfo.CurrentStateDescription = defaultStateDescription;
                     recentShortcutInfo.Id = item.AppID;
+                    recentShortcutInfo.Date = item.LaunchedTime;
                     recentShortcutInfoList.Add(recentShortcutInfo);
                 }
             }
@@ -201,6 +202,7 @@ namespace LibTVRefCommonPortable.Models
                 recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription);
                 recentShortcutInfo.CurrentStateDescription = defaultStateDescription;
                 recentShortcutInfo.Id = "org.tizen.xamediahub";
+                recentShortcutInfo.Date = item.PlayedAt;
                 recentShortcutInfoList.Add(recentShortcutInfo);
             }