equal
deleted
inserted
replaced
443 emergencyHeaderParam.SetCiphering( |
443 emergencyHeaderParam.SetCiphering( |
444 iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) ); |
444 iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) ); |
445 emergencyHeaderParam.SetCipheringIndicatorAllowed( |
445 emergencyHeaderParam.SetCipheringIndicatorAllowed( |
446 iStateMachine->PhoneEngineInfo()->SecureSpecified() ); |
446 iStateMachine->PhoneEngineInfo()->SecureSpecified() ); |
447 |
447 |
448 BeginUiUpdateLC(); |
448 TransitionHandlerL().BeginUiUpdateLC(); |
449 |
449 |
450 // Notify the view |
450 // Notify the view |
451 iViewCommandHandle->ExecuteCommandL( |
451 iViewCommandHandle->ExecuteCommandL( |
452 EPhoneViewCreateEmergencyCallHeader, |
452 EPhoneViewCreateEmergencyCallHeader, |
453 aCallId, |
453 aCallId, |
459 iViewCommandHandle->ExecuteCommandL( |
459 iViewCommandHandle->ExecuteCommandL( |
460 EPhoneViewUpdateBubble, |
460 EPhoneViewUpdateBubble, |
461 aCallId, |
461 aCallId, |
462 &headerParam ); |
462 &headerParam ); |
463 |
463 |
464 EndUiUpdate(); |
464 TransitionHandlerL().EndUiUpdate(); |
465 |
465 |
466 UpdateInCallCbaL(); |
466 UpdateInCallCbaL(); |
467 } |
467 } |
468 |
468 |
469 // ----------------------------------------------------------- |
469 // ----------------------------------------------------------- |
472 // |
472 // |
473 void CPhoneEmergency::HandleConnectedL( TInt aCallId ) |
473 void CPhoneEmergency::HandleConnectedL( TInt aCallId ) |
474 { |
474 { |
475 __LOGMETHODSTARTEND(EPhoneUIStates, "CPhoneEmergency::HandleConnectedL() "); |
475 __LOGMETHODSTARTEND(EPhoneUIStates, "CPhoneEmergency::HandleConnectedL() "); |
476 |
476 |
477 BeginUiUpdateLC(); |
477 TransitionHandlerL().BeginUiUpdateLC(); |
478 |
478 |
479 TPhoneCmdParamCallHeaderData emergencyHeaderParam; |
479 TPhoneCmdParamCallHeaderData emergencyHeaderParam; |
480 emergencyHeaderParam.SetCallState( EPEStateConnected ); |
480 emergencyHeaderParam.SetCallState( EPEStateConnected ); |
481 // Notify the view |
481 // Notify the view |
482 iViewCommandHandle->ExecuteCommandL( |
482 iViewCommandHandle->ExecuteCommandL( |
483 EPhoneViewUpdateBubble, |
483 EPhoneViewUpdateBubble, |
484 aCallId, |
484 aCallId, |
485 &emergencyHeaderParam ); |
485 &emergencyHeaderParam ); |
486 |
486 |
487 EndUiUpdate(); |
487 TransitionHandlerL().EndUiUpdate(); |
488 SetToolbarDimming( ETrue ); |
488 SetToolbarDimming( ETrue ); |
489 UpdateInCallCbaL(); |
489 UpdateInCallCbaL(); |
490 } |
490 } |
491 |
491 |
492 // ----------------------------------------------------------- |
492 // ----------------------------------------------------------- |
622 if ( neLength ) |
622 if ( neLength ) |
623 { |
623 { |
624 // Show not allowed note |
624 // Show not allowed note |
625 SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed ); |
625 SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed ); |
626 } |
626 } |
627 else |
627 else if ( !iStateMachine->SecurityMode()->IsSecurityMode() ) |
628 { |
628 { |
629 // Logs to open |
629 // Logs to open |
630 CallFromNumberEntryL(); |
630 CallFromNumberEntryL(); |
631 } |
631 } |
632 } |
632 } |