[NUI] Not set style in PROFILE_TV
authordongsug.song <dongsug.song@samsung.com>
Thu, 8 Dec 2022 14:11:18 +0000 (23:11 +0900)
committerJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Wed, 14 Dec 2022 02:16:18 +0000 (11:16 +0900)
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/Theme/ThemeManager.cs

index e47daf3..5e64ac1 100755 (executable)
@@ -1560,6 +1560,10 @@ namespace Tizen.NUI.BaseComponents
         [EditorBrowsable(EditorBrowsableState.Never)]
         protected virtual void InitializeStyle(ViewStyle style = null)
         {
+#if PROFILE_TV
+            Tizen.Log.Info("NUI", $"InitializeStyle() just return here in PROFILE_TV");
+            return;
+#endif
             var initialStyle = ThemeManager.GetInitialStyleWithoutClone(GetType());
             if (style == null)
             {
index 0b6d66f..96710ec 100755 (executable)
@@ -54,6 +54,7 @@ namespace Tizen.NUI
         static ThemeManager()
         {
 #if ExternalThemeEnabled
+            Tizen.Log.Info("NUI", $"must not be shown in PROFILE_TV");
             ExternalThemeManager.Initialize();
 #endif
             AddPackageTheme(DefaultThemeCreator.Instance);