Revert "[Tizen] Temporarily modified so that window is no null"
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 13 Apr 2020 07:41:14 +0000 (16:41 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 13 Apr 2020 07:41:19 +0000 (16:41 +0900)
This reverts commit 25c3df3dc88b9088102b103bb7927a4fd88ab67e.

Change-Id: I11f05d899d0ca49e293c38fb0ca94661bfca3316

dali/internal/system/tizen-wayland/widget-application-impl-tizen.cpp

index 2b4b480..ff22534 100644 (file)
@@ -55,9 +55,9 @@ int OnInstanceInit(widget_base_instance_h instanceHandle, bundle *content, int w
   }
   else
   {
-    if(Internal::Adaptor::Adaptor::GetImplementation(application->GetAdaptor()).IsMultipleWindowSupported())
+    window = Dali::Window::New(PositionSize(0,0,w,h) ,"", false);
+    if( window )
     {
-      window = Dali::Window::New(PositionSize(0,0,w,h) ,"", false);
       DALI_LOG_RELEASE_INFO("Widget Instance create new Window  (win:%p, cnt:%d) (%dx%d) (id:%s )\n", window, application->GetWidgetCount(), w, h, std::string(id).c_str());
     }
     else