diff -r 1eef62f5c541 -r 2a5d4ab426d3 phoneapp/phoneuivoipextension/src/cphoneviewcustomizationvoip.cpp --- a/phoneapp/phoneuivoipextension/src/cphoneviewcustomizationvoip.cpp Mon Aug 23 15:42:12 2010 +0300 +++ b/phoneapp/phoneuivoipextension/src/cphoneviewcustomizationvoip.cpp Fri Sep 03 13:33:36 2010 +0300 @@ -15,7 +15,6 @@ * */ -#include #include "cphoneviewcustomizationvoip.h" #include "mphoneviewblockingdialogobserver.h" #include "phonestatedefinitionsvoip.h" @@ -46,7 +45,6 @@ // void CPhoneViewCustomizationVoip::ConstructL() { - iServiceSelector = CConvergedServiceSelector::NewL(); } @@ -86,7 +84,6 @@ // CPhoneViewCustomizationVoip::~CPhoneViewCustomizationVoip() { - delete iServiceSelector; } @@ -138,9 +135,6 @@ { __LOGMETHODSTARTEND( PhoneUIVoIPExtension, "CPhoneViewCustomizationVoip::RemoveDialog" ); - - // Dismiss service selector queries, if necessary - iServiceSelector->CancelSelection(); } @@ -155,24 +149,5 @@ __LOGMETHODSTARTEND( PhoneUIVoIPExtension, "CPhoneViewCustomizationVoip::SelectVoipService" ); - // Indicate that the service selection is blocking key events - // from the Phone. - aBlockingObserver.SetBlockingDialogIsDisplayed( ETrue ); - - CConvergedServiceSelector::TSsResult results; - TInt selectionResult = iServiceSelector->GetCallingServiceByCallType( - results, CConvergedServiceSelector::ESsVoipCall, 0, EFalse ); - - if ( KErrNone == selectionResult ) - { - TPhoneCmdParamSelector* selectorContent = - static_cast( aCommandParam ); - selectorContent->SetRegStatus( results.iServiceEnabled ); - selectorContent->SetServiceId( results.iServiceId ); - } - - // Reset the flag - aBlockingObserver.SetBlockingDialogIsDisplayed( EFalse ); - - return ( KErrNone == selectionResult ); + return ETrue; }