equal
deleted
inserted
replaced
627 pluginInfo.iProvisioned = ETrue; |
627 pluginInfo.iProvisioned = ETrue; |
628 } |
628 } |
629 } |
629 } |
630 |
630 |
631 CleanupStack::PopAndDestroy( &serviceIds ); |
631 CleanupStack::PopAndDestroy( &serviceIds ); |
632 |
632 |
633 iServicePluginInfoArray.Append( pluginInfo ); |
633 // Check if the plugin is already in array before appending. |
|
634 TBool found( EFalse ); |
|
635 for ( TInt counter( 0 ); |
|
636 counter < iServicePluginInfoArray.Count(); |
|
637 counter++ ) |
|
638 { |
|
639 if ( iServicePluginInfoArray[counter].iPluginsUid == |
|
640 pluginInfo.iPluginsUid ) |
|
641 { |
|
642 found = ETrue; |
|
643 } |
|
644 } |
|
645 if ( !found ) |
|
646 { |
|
647 iServicePluginInfoArray.Append( pluginInfo ); |
|
648 } |
634 } |
649 } |
635 |
650 |
636 CSCENGDEBUG( "CCSCEngServicePluginHandler::SetPluginInitInfoL - end" ); |
651 CSCENGDEBUG( "CCSCEngServicePluginHandler::SetPluginInitInfoL - end" ); |
637 } |
652 } |
638 |
653 |