homescreensrv_plat/sapi_contentpublishing/src/cpclientactivenotifier.cpp
branchRCL_3
changeset 64 b276298d5729
parent 0 79c6a41cd166
child 74 edd621764147
equal deleted inserted replaced
59:a0713522ab97 64:b276298d5729
   202         CleanupStack::PopAndDestroy(&stream);
   202         CleanupStack::PopAndDestroy(&stream);
   203         delete iSizeDes;
   203         delete iSizeDes;
   204         iSizeDes = NULL;
   204         iSizeDes = NULL;
   205         CleanupStack::PopAndDestroy(&outbuf);
   205         CleanupStack::PopAndDestroy(&outbuf);
   206         }
   206         }
   207     RegisterAgainL();
   207     if (KErrNoMemory!=iStatus.Int())
   208 
   208         {
       
   209         RegisterAgainL();
       
   210         }
   209     NotifyObserversL(error, eventParamList);
   211     NotifyObserversL(error, eventParamList);
   210     CleanupStack::PopAndDestroy(eventParamList);
   212     CleanupStack::PopAndDestroy(eventParamList);
   211     }
   213     }
   212 
   214 
   213 // ----------------------------------------------------------------------------
   215 // ----------------------------------------------------------------------------
   290 
   292 
   291 // ----------------------------------------------------------------------------
   293 // ----------------------------------------------------------------------------
   292 //
   294 //
   293 // ----------------------------------------------------------------------------
   295 // ----------------------------------------------------------------------------
   294 //
   296 //
   295 TInt CCPActiveNotifier::RunError( TInt /*aError*/)
   297 TInt CCPActiveNotifier::RunError( TInt aError )
   296     {
   298     {
   297     TRAP_IGNORE( RegisterAgainL( ) );
   299     if (KErrNoMemory!=aError)
       
   300         {
       
   301         TRAP_IGNORE( RegisterAgainL( ) );
       
   302         }
   298     return KErrNone;
   303     return KErrNone;
   299     }
   304     }
   300 // ----------------------------------------------------------------------------
   305 // ----------------------------------------------------------------------------
   301 //
   306 //
   302 // ----------------------------------------------------------------------------
   307 // ----------------------------------------------------------------------------