From: ChulSeung Kim Date: Wed, 14 Jun 2017 04:57:55 +0000 (+0900) Subject: Set TVHome hidden, Fix No Recent displaying issue X-Git-Tag: submit/tizen/20170808.015446~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F133937%2F1;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Set TVHome hidden, Fix No Recent displaying issue Change-Id: Id43cbe959a029a1ea9184a249769628998fdb94f --- diff --git a/LibTVRefCommonPortable/Utils/RecentShortcutStorage.cs b/LibTVRefCommonPortable/Utils/RecentShortcutStorage.cs index b993aff..828e007 100755 --- a/LibTVRefCommonPortable/Utils/RecentShortcutStorage.cs +++ b/LibTVRefCommonPortable/Utils/RecentShortcutStorage.cs @@ -59,8 +59,7 @@ namespace LibTVRefCommonPortable.Utils } if (item.Applabel == null || item.Applabel.Length == 0 || - item.LaunchedTime.CompareTo(new DateTime()) == 0 || - item.Uri == null || item.Uri.Length == 0) + item.LaunchedTime.CompareTo(new DateTime()) == 0) { continue; } diff --git a/LibTVRefCommonTizen/LibTVRefCommonTizen.project.json b/LibTVRefCommonTizen/LibTVRefCommonTizen.project.json index cb8dbec..828651e 100644 --- a/LibTVRefCommonTizen/LibTVRefCommonTizen.project.json +++ b/LibTVRefCommonTizen/LibTVRefCommonTizen.project.json @@ -4,7 +4,7 @@ "Tizen.NET": "3.0.0-pre2", "Tizen.Xamarin.Forms.Extension": "2.3.5-r233-004", "Xamarin.Forms": "2.3.5-r233-004", - "Xamarin.Forms.Platform.Tizen": "2.3.5-r233-004" + "Xamarin.Forms.Platform.Tizen": "2.3.5-r233-008" }, "frameworks": { "netcoreapp1.0": { diff --git a/LibTVRefCommonTizen/Ports/ApplicationManagerPort.cs b/LibTVRefCommonTizen/Ports/ApplicationManagerPort.cs index ec7c8d8..d5621fd 100755 --- a/LibTVRefCommonTizen/Ports/ApplicationManagerPort.cs +++ b/LibTVRefCommonTizen/Ports/ApplicationManagerPort.cs @@ -89,7 +89,9 @@ namespace LibTVRefCommonTizen.Ports /// The list of the recent applications public IEnumerable GetRecentApplications() { + bool isNoRecentApps = true; List resultList = new List(); + try { IEnumerable recentApps = ApplicationManager.GetRecentApplications(); @@ -103,6 +105,8 @@ namespace LibTVRefCommonTizen.Ports continue; } + DbgPort.D("Recent App (" + app.Label + "): " + app.ApplicationId); + resultList.Add(new RecentApp() { InstanceID = app.InstanceId, @@ -113,6 +117,7 @@ namespace LibTVRefCommonTizen.Ports LaunchedTime = app.LaunchTime, Uri = app.Uri, }); + isNoRecentApps = false; } } catch (InvalidOperationException) @@ -121,6 +126,11 @@ namespace LibTVRefCommonTizen.Ports return null; } + if (isNoRecentApps) + { + DbgPort.E("No Recent Apps!!!"); + } + return resultList; } diff --git a/TVApps/TVApps.TizenTV/tizen-manifest.xml b/TVApps/TVApps.TizenTV/tizen-manifest.xml index 2b821a3..7c7a788 100644 --- a/TVApps/TVApps.TizenTV/tizen-manifest.xml +++ b/TVApps/TVApps.TizenTV/tizen-manifest.xml @@ -1,7 +1,7 @@  - + xaapps.png diff --git a/TVHome/TVHome.TizenTV/tizen-manifest.xml b/TVHome/TVHome.TizenTV/tizen-manifest.xml index ba93e06..3df57de 100755 --- a/TVHome/TVHome.TizenTV/tizen-manifest.xml +++ b/TVHome/TVHome.TizenTV/tizen-manifest.xml @@ -1,11 +1,11 @@ - + xahome.png - + xaapps.png