Merge "[3.0] Added handler for ECORE_WL_EVENT_WINDOW_VISIBILITY_CHANGE" into tizen_3.0 accepted/tizen/3.0/common/20170531.142804 accepted/tizen/3.0/ivi/20170530.235742 accepted/tizen/3.0/mobile/20170530.235647 accepted/tizen/3.0/tv/20170530.235706 accepted/tizen/3.0/wearable/20170530.235725 submit/tizen_3.0/20170526.103846
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Fri, 26 May 2017 08:39:49 +0000 (08:39 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 26 May 2017 08:39:49 +0000 (08:39 +0000)
adaptors/common/application-impl.cpp

index bdc6268..bd885e6 100644 (file)
@@ -237,7 +237,9 @@ void Application::OnTerminate()
 
 void Application::OnPause()
 {
-  mAdaptor->Pause();
+  // A DALi app should handle Pause/Resume events.
+  // DALi just delivers the framework Pause event to the application, but not actually pause DALi core
+  // Pausing DALi core only occurs on the Window Hidden framework event
   Dali::Application application(this);
   mPauseSignal.Emit( application );
 }
@@ -248,7 +250,9 @@ void Application::OnResume()
   // This ensures we do not just redraw the last frame before pausing if that's not required
   Dali::Application application(this);
   mResumeSignal.Emit( application );
-  mAdaptor->Resume();
+
+  // DALi just delivers the framework Resume event to the application.
+  // Resuming DALi core only occurs on the Window Show framework event
 }
 
 void Application::OnReset()