From: 최종헌/MDE Lab(SR)/삼성전자 Date: Tue, 18 Jul 2023 00:37:26 +0000 (+0900) Subject: Remove the preload code related to TIZEN_UIFW. Only NUI is supported (#469) X-Git-Tag: accepted/tizen/unified/20230718.162214^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fdotnet%2Flauncher.git;a=commitdiff_plain;h=62dc7e32f5634d9d407d10f2dda647d0f5bef74b Remove the preload code related to TIZEN_UIFW. Only NUI is supported (#469) --- diff --git a/Managed/Tizen.Runtime/Preloader.cs b/Managed/Tizen.Runtime/Preloader.cs index ea0737b..9ee11c7 100644 --- a/Managed/Tizen.Runtime/Preloader.cs +++ b/Managed/Tizen.Runtime/Preloader.cs @@ -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)) {