[Packagemanager] Remove warning log when failed to get tep name (#4456)
authorjeremy-jang <35089715+jeremy-jang@users.noreply.github.com>
Tue, 2 Aug 2022 07:53:06 +0000 (16:53 +0900)
committerGitHub <noreply@github.com>
Tue, 2 Aug 2022 07:53:06 +0000 (16:53 +0900)
Most packages do not have tep.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/Tizen.Applications.PackageManager/Tizen.Applications/Package.cs

index a51af97..7932ac4 100644 (file)
@@ -340,7 +340,7 @@ namespace Tizen.Applications
             err = Interop.Package.PackageInfoGetTepName(handle, out package._expansionPackageName);
             if (err != Interop.PackageManager.ErrorCode.None)
             {
-                Log.Warn(LogTag, "Failed to get expansion package name of " + pkgId);
+                // Do not print warning log because most packages do not have tep.
                 package._expansionPackageName = string.Empty;
             }