X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=adaptors%2Fcommon%2Fadaptor-impl.cpp;h=59f030350480409137d05129c22193a7f92e3961;hb=beb31ee6410395be4a20f5d9e192b9172cb822e4;hp=ff84a6e2c1a432226474288c3cb4d896b6a0fc62;hpb=e04ab71ab447a4df4421f59b7c1be46fe4932bc9;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/adaptor-impl.cpp b/adaptors/common/adaptor-impl.cpp index ff84a6e..59f0303 100644 --- a/adaptors/common/adaptor-impl.cpp +++ b/adaptors/common/adaptor-impl.cpp @@ -447,7 +447,7 @@ bool Adaptor::AddIdle( CallbackBase* callback, bool forceAdd ) bool idleAdded(false); // Only add an idle if the Adaptor is actually running - if( RUNNING == mState || forceAdd ) + if( RUNNING == mState || READY == mState || forceAdd ) { idleAdded = mCallbackManager->AddIdleCallback( callback ); } @@ -691,7 +691,7 @@ void Adaptor::RequestProcessEventsOnIdle( bool forceProcess ) { // Only request a notification if the Adaptor is actually running // and we haven't installed the idle notification - if( ( ! mNotificationOnIdleInstalled ) && ( RUNNING == mState || forceProcess ) ) + if( ( ! mNotificationOnIdleInstalled ) && ( RUNNING == mState || READY == mState || forceProcess ) ) { mNotificationOnIdleInstalled = AddIdle( MakeCallback( this, &Adaptor::ProcessCoreEventsFromIdle ), forceProcess ); }