telephonyserverplugins/common_tsy/commontsy/src/mmtsy/CMmMessageRouterProxy.cpp
changeset 23 6b1d113cdff3
parent 20 244d7c5f118e
child 24 6638e7f4bd8f
child 42 3adadc800673
equal deleted inserted replaced
20:244d7c5f118e 23:6b1d113cdff3
   775                 static_cast<CMmPhoneBookStoreTsy*>( mmObject )->
   775                 static_cast<CMmPhoneBookStoreTsy*>( mmObject )->
   776                     CompletePBStoreInitializationL( 
   776                     CompletePBStoreInitializationL( 
   777                     aResult, aDataPackage );
   777                     aResult, aDataPackage );
   778                     TBool done = EFalse;
   778                     TBool done = EFalse;
   779                     
   779                     
       
   780                     // NOTE: The statement above is redundant, as the loop below calls CompletePBStoreInitializationL
       
   781                     // on every phonebook store. However, we need to be certain that changing the order in which
       
   782                     // phonebook stores are initialised won't introduce side effects. (One future improvement)
   780                     for( TInt i = 0; i < iMmPhone->PBList()->GetNumberOfObjects(); i++ )
   783                     for( TInt i = 0; i < iMmPhone->PBList()->GetNumberOfObjects(); i++ )
   781         	            {
   784         	            {
   782 TFLOGSTRING("TSY: CMmMessageRouterProxy::RouteCompletion:EMmTsyPhoneBookStoreInitIPC for loop, check init statuses ");
   785 TFLOGSTRING("TSY: CMmMessageRouterProxy::RouteCompletion:EMmTsyPhoneBookStoreInitIPC for loop, check init statuses ");
   783         	            CMmPhoneBookStoreTsy* pbStore = iMmPhone->PBList()->
   786         	            CMmPhoneBookStoreTsy* pbStore = iMmPhone->PBList()->
   784         	                GetMmPBByIndex( i );
   787         	                GetMmPBByIndex( i );