imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp
changeset 17 ffa62e555b02
parent 15 7197e789b953
child 22 a67f74060682
equal deleted inserted replaced
15:7197e789b953 17:ffa62e555b02
   184     
   184     
   185     if (iMdESession)
   185     if (iMdESession)
   186         {
   186         {
   187         // 2 observers
   187         // 2 observers
   188         TRAP_IGNORE( iMdESession->RemoveObjectObserverL( *this ) );
   188         TRAP_IGNORE( iMdESession->RemoveObjectObserverL( *this ) );
   189 //modify        TRAP_IGNORE( iMdESession->RemoveObjectObserverL( *this ) );
       
   190         
   189         
   191 #ifdef MDS_URI_OBSERVER
   190 #ifdef MDS_URI_OBSERVER
   192         // remove observer with uri
   191         // remove observer with uri
   193         TRAP_IGNORE( iMdESession->RemoveObjectObserverWithUriL( *this ) );
   192         TRAP_IGNORE( iMdESession->RemoveObjectObserverWithUriL( *this ) );
   194 #endif
   193 #endif
   372         if ( aType == ENotifyRemove )
   371         if ( aType == ENotifyRemove )
   373             {
   372             {
   374             iProcessor->RemoveFromQueues( aObjectIdArray, EFalse);
   373             iProcessor->RemoveFromQueues( aObjectIdArray, EFalse);
   375             }
   374             }
   376         
   375         
   377         // Add event to processing queue by type and enable force run
   376         // Add event to processing queue by type and enable force run        
   378         
       
   379         RPointerArray<HBufC> dummyArray;
   377         RPointerArray<HBufC> dummyArray;
   380         TRAPD(err, iProcessor->AddToQueueL(aType, aObjectIdArray, dummyArray, EFalse));
   378         TRAPD(err, iProcessor->AddToQueueL(aType, aObjectIdArray, dummyArray, EFalse));
   381         if (err != KErrNone)
   379         if (err != KErrNone)
   382             {
   380             {
   383             TN_DEBUG1( "CThumbAGDaemon::HandleObjectNotification() - error adding to queue" );
   381             TN_DEBUG1( "CThumbAGDaemon::HandleObjectNotification() - error adding to queue" );