<NoWarn>$(NoWarn);CS0618;CS0809;CS1591;CA1054;CA1056</NoWarn>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
+ <PropertyGroup>
+ <DefineConstants>$(DefineConstants);NUI_DEBUG_OFF</DefineConstants>
+ </PropertyGroup>
+
<ItemGroup>
<TizenPreloadFile Include="Tizen.NUI.preload"
Sequence="30" />
Tizen.Tracer.Begin("[NUI] OnApplicationInit: GetWindow");
Window.Instance = GetWindow();
#if !PROFILE_TV
+ //tv profile never use default focus indicator, so this is not needed!
_ = FocusManager.Instance;
#endif
Tizen.Tracer.End();
protected virtual void InitializeStyle(ViewStyle style = null)
{
#if PROFILE_TV
- Tizen.Log.Info("NUI", $"InitializeStyle() just return here in PROFILE_TV");
+ // tv profile doesn't use NUI Style, so do nothing and just return here!
return;
#endif
var initialStyle = ThemeManager.GetInitialStyleWithoutClone(GetType());
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
#if !PROFILE_TV
+ //tv profile never use default focus indicator, so this is not needed!
ret.FocusIndicator = ret.GetDefaultFocusIndicator();
#endif
return ret;
static ThemeManager()
{
#if ExternalThemeEnabled
- Tizen.Log.Info("NUI", $"must not be shown in PROFILE_TV");
ExternalThemeManager.Initialize();
-#endif
AddPackageTheme(DefaultThemeCreator.Instance);
+#endif
}
/// <summary>
internal static void AddPackageTheme(IThemeCreator themeCreator)
{
#if PROFILE_TV
- Tizen.Log.Info("NUI", $"PROFILE_TV AddPackageTheme()");
+ // for tv profile, set empty theme and just return here!
userTheme = null;
baseTheme = themeCreator.Create();
return;