[Tizen] Idler log fix 71/222171/1
authorSeungho, Baek <sbsh.baek@samsung.com>
Fri, 10 Jan 2020 05:44:20 +0000 (14:44 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Fri, 10 Jan 2020 05:44:20 +0000 (14:44 +0900)
Change-Id: Iddfe725b34dd54bc3fe9770e9f6b5df83e799ecb
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
dali/internal/adaptor/common/adaptor-impl.cpp

index 1fc3f4e..65936dd 100755 (executable)
@@ -283,6 +283,10 @@ void Adaptor::Initialize( GraphicsFactory& graphicsFactory, Dali::Configuration:
   {
     Integration::SetPinchGestureMinimumDistance( mEnvironmentOptions->GetMinimumPinchDistance() );
   }
+  if( mEnvironmentOptions->GetLongPressMinimumHoldingTime() >= 0 )
+  {
+    Integration::SetLongPressMinimumHoldingTime( mEnvironmentOptions->GetLongPressMinimumHoldingTime() );
+  }
 
   // Set max texture size
   if( mEnvironmentOptions->GetMaxTextureSize() > 0 )
@@ -913,6 +917,10 @@ void Adaptor::RequestProcessEventsOnIdle( bool forceProcess )
   if( ( ! mNotificationOnIdleInstalled ) && ( RUNNING == mState || READY == mState || forceProcess ) )
   {
     mNotificationOnIdleInstalled = AddIdleEnterer( MakeCallback( this, &Adaptor::ProcessCoreEventsFromIdle ), forceProcess );
+    if( RUNNING == mState )
+    {
+      mNotificationOnIdleInstalled = false;
+    }
   }
 }