Remove the preload code related to TIZEN_UIFW. Only NUI is supported (#469) accepted/tizen/unified/20230718.162214
author최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
Tue, 18 Jul 2023 00:37:26 +0000 (09:37 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 18 Jul 2023 00:37:26 +0000 (09:37 +0900)
Managed/Tizen.Runtime/Preloader.cs

index ea0737b..9ee11c7 100644 (file)
@@ -50,11 +50,6 @@ namespace Tizen.Runtime
             if (!Directory.Exists(preloadPath))
                 return;
 
-            // If TIZEN_UIFW is not set or NUI, do not preload UI related dll
-            string uifw = System.Environment.GetEnvironmentVariable("TIZEN_UIFW");
-            if (uifw == null || uifw != "NUI")
-                return;
-
             string[] paths = Directory.GetFiles(preloadPath, "*.preload");
             Array.Sort(paths);
             foreach (string path in paths)
@@ -79,7 +74,7 @@ namespace Tizen.Runtime
 
                 try
                 {
-                    Console.WriteLine("UIFW: " + uifw + " Start preload : " + fileName);
+                    Console.WriteLine("Start preload : " + fileName);
                     BindingFlags bindingFlag = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
                     foreach (string line in File.ReadLines(path))
                     {