Set TVHome hidden, Fix No Recent displaying issue 37/133937/1
authorChulSeung Kim <charles0.kim@samsung.com>
Wed, 14 Jun 2017 04:57:55 +0000 (13:57 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Wed, 14 Jun 2017 04:57:55 +0000 (13:57 +0900)
Change-Id: Id43cbe959a029a1ea9184a249769628998fdb94f

LibTVRefCommonPortable/Utils/RecentShortcutStorage.cs
LibTVRefCommonTizen/LibTVRefCommonTizen.project.json
LibTVRefCommonTizen/Ports/ApplicationManagerPort.cs
TVApps/TVApps.TizenTV/tizen-manifest.xml
TVHome/TVHome.TizenTV/tizen-manifest.xml

index b993aff..828e007 100755 (executable)
@@ -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;
                     }
index cb8dbec..828651e 100644 (file)
@@ -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": {
index ec7c8d8..d5621fd 100755 (executable)
@@ -89,7 +89,9 @@ namespace LibTVRefCommonTizen.Ports
         /// <returns>The list of the recent applications</returns>
         public IEnumerable<RecentApp> GetRecentApplications()
         {
+            bool isNoRecentApps = true;
             List<RecentApp> resultList = new List<RecentApp>();
+
             try
             {
                 IEnumerable<RecentApplicationInfo> 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;
         }
 
index 2b821a3..7c7a788 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest package="org.tizen.xaapps" version="1.0.0" api-version="3.0" xmlns="http://tizen.org/ns/packages">
   <profile name="tv" />
-  <ui-application appid="org.tizen.xaapps" exec="xaapps.exe" multiple="false" nodisplay="false" taskmanage="true" splash-screen-display="true" type="dotnet" launch_mode="single">
+  <ui-application appid="org.tizen.xaapps" exec="xaapps.exe" multiple="false" nodisplay="true" taskmanage="false" splash-screen-display="false" type="dotnet" launch_mode="single">
     <icon>xaapps.png</icon>
     <label>Apps</label>
   </ui-application>
index ba93e06..3df57de 100755 (executable)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest package="org.tizen.xahome" version="1.0.0" api-version="3.0" xmlns="http://tizen.org/ns/packages">
   <profile name="tv" />
-  <ui-application appid="org.tizen.xahome" exec="xahome.exe" multiple="false" nodisplay="false" taskmanage="true" splash-screen-display="true" type="dotnet" launch_mode="single">
+  <ui-application appid="org.tizen.xahome" exec="xahome.exe" multiple="false" nodisplay="true" taskmanage="false" splash-screen-display="false" type="dotnet" launch_mode="single">
     <icon>xahome.png</icon>
     <label>Home</label>
   </ui-application>
-  <ui-application appid="org.tizen.xaapps" exec="xaapps.exe" multiple="false" nodisplay="true" taskmanage="false" splash-screen-display="true" type="dotnet" launch_mode="single">
+  <ui-application appid="org.tizen.xaapps" exec="xaapps.exe" multiple="false" nodisplay="true" taskmanage="false" splash-screen-display="false" type="dotnet" launch_mode="single">
     <icon>xaapps.png</icon>
     <label>Apps</label>
   </ui-application>