To support multi-window, creating a new Window calls
Window.IsSupportedMultiWindow().
Since libcapi-system-info.so.0 is not installed by default on desktop
environment, calling Window.IsSupportedMultiWindow() causes crash by
DllNotFoundException.
Not to cause crash by calling Window.IsSupportedMultiWindow() on
desktop, DllNotFoundException is caught.
static internal bool IsSupportedMultiWindow()
{
bool isSupported = false;
- Information.TryGetValue("http://tizen.org/feature/opengles.surfaceless_context", out isSupported);
+ try
+ {
+ Information.TryGetValue("http://tizen.org/feature/opengles.surfaceless_context", out isSupported);
+ }
+ catch (DllNotFoundException e)
+ {
+ Tizen.Log.Fatal("NUI", $"{e}\n");
+ }
return isSupported;
}