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 b993affb32973740a08675f9c631b417a071084b..828e00734eba087fab0ca4c6361c5ddf1a9655ba 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 cb8dbec4955592509f62e2ad014568f2ca7427d3..828651e41f7a98d6125207da5953be6cdfbf8a7e 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 ec7c8d8e85ee0e050e213395e64e32683b0deb5c..d5621fd8a706abe69f0067675263b70b17e74cec 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 2b821a3ee1932903692e04825a6f2ddded81facc..7c7a78839207a89b9fb46dcf0c23f91ec9e2e941 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 ba93e06dbbd7bb976c9a36847f4724cd33dcab7a..3df57dec068c16420f3596a63901f5022566bd61 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>