Updated API comments as per SE team.
authorDinesh Dwivedi <dinesh.d@samsung.com>
Thu, 7 Jul 2016 06:41:25 +0000 (12:11 +0530)
committerDinesh Dwivedi <dinesh.d@samsung.com>
Tue, 19 Jul 2016 12:02:55 +0000 (21:02 +0900)
Change-Id: Ibfa12cf3d2b7abf6f92eae616190eb3ba831b65f
Signed-off-by: Dinesh Dwivedi <dinesh.d@samsung.com>
Tizen.Applications/Tizen.Applications/Package.cs
Tizen.Applications/Tizen.Applications/PackageFilter.cs
Tizen.Applications/Tizen.Applications/PackageManager.cs

index f993dd7..034d428 100644 (file)
@@ -41,7 +41,7 @@ namespace Tizen.Applications
         }
 
         /// <summary>
-        /// Package name.
+        /// Package ID.
         /// </summary>
         public string Id { get { return _id; } }
 
@@ -129,7 +129,7 @@ namespace Tizen.Applications
         }
 
         /// <summary>
-        /// Retreives all application IDs of this package.
+        /// Retrieves all application IDs of this package.
         /// </summary>
         /// <returns>Returns a dictionary containing all application info for given application type asynchronously.</returns>
         public IEnumerable<ApplicationInfo> GetApplications()
@@ -138,7 +138,7 @@ namespace Tizen.Applications
         }
 
         /// <summary>
-        /// Retreives all application IDs of this package.
+        /// Retrieves all application IDs of this package.
         /// </summary>
         /// <param name="type">Optional: AppType enum value</param>
         /// <returns>Returns a dictionary containing all application info for given application type asynchronously.</returns>
index 3e82428..06f2f8e 100755 (executable)
@@ -18,7 +18,7 @@ namespace Tizen.Applications
         private IDictionary<string, bool> _filter;
 
         /// <summary>
-        /// Constructor
+        /// Default constructor with empty filter list. All installed applications will satisfy this filter unless updated with more specific filters.
         /// </summary>
         public PackageFilter()
         {
@@ -26,7 +26,7 @@ namespace Tizen.Applications
         }
 
         /// <summary>
-        /// Constructor
+        /// Constructor with specific filters. Using this will filter out installed packages which do not meet the criteria of the filters.
         /// </summary>
         public PackageFilter(IDictionary<string, bool> filter)
         {
@@ -71,4 +71,4 @@ namespace Tizen.Applications
             public const string Preload = "PMINFO_PKGINFO_PROP_PACKAGE_PRELOAD";
         }
     }
-}
\ No newline at end of file
+}
index f7e1287..dd54d8e 100755 (executable)
@@ -161,7 +161,7 @@ namespace Tizen.Applications
         }
 
         /// <summary>
-        /// Retrieves package information of all packages satisfying filter conditions.
+        /// Retrieves package information of all installed packages.
         /// </summary>
         /// <returns>Returns the list of packages asynchronously.</returns>
         /// <privilege>http://tizen.org/privilege/packagemanager.info</privilege>
@@ -171,7 +171,7 @@ namespace Tizen.Applications
         }
 
         /// <summary>
-        /// Retrieves package information of all packages satisfying filter conditions.
+        /// Retrieves package information of all installed packages satisfying filter conditions.
         /// </summary>
         /// <param name="filter">Optional - package filters</param>
         /// <returns>Returns the list of packages asynchronously.</returns>
@@ -411,8 +411,8 @@ namespace Tizen.Applications
                     Log.Debug(LogTag, string.Format("New Event Status flag: {0}", s_eventStatus));
                     return;
                 }
+                Log.Debug(LogTag, string.Format("Failed to set flag for {0} event. err = {1}", eventStatus, err));
             }
-            Log.Debug(LogTag, string.Format("Failed to set flag for {0} event. err = {1}", eventStatus, err));
         }
 
         private static void RegisterPackageManagerEventIfNeeded()