--- a/phoneapp/phoneuistates/src/cphonegsmincall.cpp Mon Jan 18 20:18:27 2010 +0200
+++ b/phoneapp/phoneuistates/src/cphonegsmincall.cpp Tue Jan 26 11:57:27 2010 +0200
@@ -218,26 +218,23 @@
// CPhoneGsmInCall::HandleColpNoteL
// -----------------------------------------------------------
//
-void CPhoneGsmInCall::HandleColpNoteL(
- TInt aCallId )
+void CPhoneGsmInCall::HandleColpNoteL( TInt aCallId )
{
__LOGMETHODSTARTEND(EPhoneControl, "CPhoneGsmInCall::HandleColpNoteL() ");
MPEEngineInfo* EngineInfo = CPhoneState::iStateMachine->PhoneEngineInfo();
-
- if ( EngineInfo->RemoteColpNumber( aCallId ).Length() )
- {
- TPhoneCmdParamGlobalNote globalNoteParam;
- globalNoteParam.SetText( EngineInfo->RemoteColpNumber( aCallId ) );
- globalNoteParam.SetType( EAknGlobalInformationNote );
- globalNoteParam.SetTextResourceId(
- CPhoneMainResourceResolver::Instance()->
+
+ TPhoneCmdParamGlobalNote globalNoteParam;
+ globalNoteParam.SetText( EngineInfo->RemoteColpNumber( aCallId ) );
+ globalNoteParam.SetType( EAknGlobalInformationNote );
+ globalNoteParam.SetTextResourceId(
+ CPhoneMainResourceResolver::Instance()->
ResolveResourceID( EPhoneColpConnected ) );
- globalNoteParam.SetTone( EAvkonSIDInformationTone );
+ globalNoteParam.SetTone( EAvkonSIDInformationTone );
- iViewCommandHandle->ExecuteCommandL(
- EPhoneViewShowGlobalNote, &globalNoteParam );
- }
+ iViewCommandHandle->ExecuteCommandL(
+ EPhoneViewShowGlobalNote, &globalNoteParam );
+
}
// -----------------------------------------------------------