diff -r 94dc1107e8b2 -r 40a3f856b14d phoneapp/phoneuistates/src/cphonegsmincall.cpp --- a/phoneapp/phoneuistates/src/cphonegsmincall.cpp Thu Jul 15 18:38:16 2010 +0300 +++ b/phoneapp/phoneuistates/src/cphonegsmincall.cpp Thu Aug 19 09:54:27 2010 +0300 @@ -399,53 +399,4 @@ EPhoneViewShowGlobalNote, &globalNoteParam ); } - -// --------------------------------------------------------- -// CPhoneGsmInCall::SetDivertIndication -// --------------------------------------------------------- -// -EXPORT_C void CPhoneGsmInCall::SetDivertIndication( const TBool aDivertIndication ) - { - __LOGMETHODSTARTEND( EPhoneControl, "CPhoneGsmInCall::SetDivertIndication()"); - - CPhoneState::SetDivertIndication( aDivertIndication ); - - TRAP_IGNORE( HandeDivertIndicationL() ); - } - -// --------------------------------------------------------- -// CPhoneGsmInCall::HandeDivertIndicationL -// --------------------------------------------------------- -// -void CPhoneGsmInCall::HandeDivertIndicationL() - { - __LOGMETHODSTARTEND( EPhoneControl, "CPhoneGsmInCall::HandeDivertIndicationL()"); - - TBuf< KPhoneContactNameMaxLength > remoteInfoText( KNullDesC ); - TInt ringingCallId ( KErrNotFound ); - - ringingCallId = GetRingingCallL(); - - if( ringingCallId > KErrNotFound ) - { - TPhoneCmdParamCallHeaderData divertData; - - divertData.SetCallFlag( CBubbleManager::EDiverted ); - - GetRemoteInfoDataL( ringingCallId, remoteInfoText ); - divertData.SetCLIText( - remoteInfoText, - CBubbleManager::ERight ); - - divertData.SetCiphering( - iStateMachine->PhoneEngineInfo()->IsSecureCall( ringingCallId ) ); - divertData.SetCipheringIndicatorAllowed( - iStateMachine->PhoneEngineInfo()->SecureSpecified() ); - - iViewCommandHandle->ExecuteCommandL( - EPhoneViewUpdateCallHeaderRemoteInfoData, ringingCallId, - &divertData ); - } - } - // End of File