[Tizen] Fix to get a Stage::SceneCreatedSignal() 90/131390/1 accepted/tizen/unified/20170531.082634 submit/tizen/20170529.015049
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 29 May 2017 01:28:06 +0000 (10:28 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 29 May 2017 01:49:37 +0000 (10:49 +0900)
- The signal should be emitted after Application::InitSignal() is emitted.

Change-Id: I03256291e0a31ed85b169eb56effdb787a50e28d

adaptors/common/application-impl.cpp

index 931ba12..e919f22 100644 (file)
@@ -198,8 +198,6 @@ void Application::DoInit()
   {
     Dali::StyleMonitor::Get().SetTheme( mStylesheet );
   }
-
-  mAdaptor->NotifySceneCreated();
 }
 
 void Application::DoTerminate()
@@ -247,6 +245,8 @@ void Application::OnInit()
 
   Dali::Application application(this);
   mInitSignal.Emit( application );
+
+  mAdaptor->NotifySceneCreated();
 }
 
 void Application::OnTerminate()