Revert "[Tizen] NotifySceneCreated should be called in NUI" 15/132615/1
authorminho.sun <minho.sun@samsung.com>
Wed, 7 Jun 2017 02:17:23 +0000 (11:17 +0900)
committerminho.sun <minho.sun@samsung.com>
Wed, 7 Jun 2017 02:17:28 +0000 (11:17 +0900)
This reverts commit 8529741859078215c5a2bbbd1dbb2398680821d8.

Change-Id: I7d27ccfeb00cffef950f75079156dfd982485aa0

adaptors/common/application-impl.cpp
adaptors/common/application-impl.h

index dedf854..5dfa505 100644 (file)
@@ -83,7 +83,6 @@ Application::Application( int* argc, char** argv[], const std::string& styleshee
   mName(),
   mStylesheet( stylesheet ),
   mEnvironmentOptions(),
-  mInitialized( false ),
   mSlotDelegate( this )
 {
   // Get mName from environment options
@@ -199,12 +198,6 @@ void Application::DoInit()
   {
     Dali::StyleMonitor::Get().SetTheme( mStylesheet );
   }
-
-  if( !mInitialized )
-  {
-    mAdaptor->NotifySceneCreated();
-    mInitialized = true;
-  }
 }
 
 void Application::DoTerminate()
@@ -237,8 +230,6 @@ void Application::OnInit()
 {
   mFramework->AddAbortCallback( MakeCallback( this, &Application::QuitFromMainLoop ) );
 
-  mInitialized = true;
-
   DoInit();
 
   // Wire up the LifecycleController
index 642bf74..aeadb17 100644 (file)
@@ -342,7 +342,6 @@ private:
   std::string                           mStylesheet;
   EnvironmentOptions                    mEnvironmentOptions;
   bool                                  mUseRemoteSurface;
-  bool                                  mInitialized;
 
   SlotDelegate< Application >           mSlotDelegate;
 };