telephonyserverplugins/common_tsy/commontsy/src/mmtsy/CMmMessageRouterProxy.cpp
branchRCL_3
changeset 8 3f227a47ad75
parent 0 3553901f7fa8
child 15 8b9e023e329f
equal deleted inserted replaced
7:fe8b59ab9fa0 8:3f227a47ad75
   770                 {
   770                 {
   771                 static_cast<CMmPhoneBookStoreTsy*>( mmObject )->
   771                 static_cast<CMmPhoneBookStoreTsy*>( mmObject )->
   772                     CompletePBStoreInitializationL( 
   772                     CompletePBStoreInitializationL( 
   773                     aResult, aDataPackage );
   773                     aResult, aDataPackage );
   774                     TBool done = EFalse;
   774                     TBool done = EFalse;
   775                     
   775 
       
   776                     // NOTE: The statement above is redundant, as the loop below calls CompletePBStoreInitializationL
       
   777                     // on every phonebook store. However, we need to be certain that changing the order in which
       
   778                     // phonebook stores are initialised won't introduce side effects. (One future improvement)                    
   776                     for( TInt i = 0; i < iMmPhone->PBList()->GetNumberOfObjects(); i++ )
   779                     for( TInt i = 0; i < iMmPhone->PBList()->GetNumberOfObjects(); i++ )
   777         	            {
   780         	            {
   778 TFLOGSTRING("TSY: CMmMessageRouterProxy::RouteCompletion:EMmTsyPhoneBookStoreInitIPC for loop, check init statuses ");
   781 TFLOGSTRING("TSY: CMmMessageRouterProxy::RouteCompletion:EMmTsyPhoneBookStoreInitIPC for loop, check init statuses ");
   779         	            CMmPhoneBookStoreTsy* pbStore = iMmPhone->PBList()->
   782         	            CMmPhoneBookStoreTsy* pbStore = iMmPhone->PBList()->
   780         	                GetMmPBByIndex( i );
   783         	                GetMmPBByIndex( i );