equal
deleted
inserted
replaced
170 case MEngineMonitor::EPEMessageSentDTMF: // fall through |
170 case MEngineMonitor::EPEMessageSentDTMF: // fall through |
171 case MEngineMonitor::EPEMessageDTMFSendingAborted: |
171 case MEngineMonitor::EPEMessageDTMFSendingAborted: |
172 CPhoneGsmInCall::HandlePhoneEngineMessageL( aMessage, aCallId ); |
172 CPhoneGsmInCall::HandlePhoneEngineMessageL( aMessage, aCallId ); |
173 if ( iStateMachine->PhoneEngineInfo()->CallState( KPEEmergencyCallId ) == EPEStateDialing ) |
173 if ( iStateMachine->PhoneEngineInfo()->CallState( KPEEmergencyCallId ) == EPEStateDialing ) |
174 { |
174 { |
175 TPhoneCmdParamBoolean isProgressNoteVisible; |
175 TPhoneCmdParamBoolean isNoteVisible; |
176 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsProgressNoteVisible, |
176 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsNoteVisible, |
177 &isProgressNoteVisible ); |
177 &isNoteVisible ); |
178 |
178 |
179 if ( !isProgressNoteVisible.Boolean() ) |
179 if ( !isNoteVisible.Boolean() ) |
180 { |
180 { |
181 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
181 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
182 UpdateSetupCbaL(); |
182 UpdateSetupCbaL(); |
183 } |
183 } |
184 } |
184 } |
665 __LOGMETHODSTARTEND(EPhoneUIStates, "CPhoneEmergency::HandleCommandL()"); |
665 __LOGMETHODSTARTEND(EPhoneUIStates, "CPhoneEmergency::HandleCommandL()"); |
666 TBool commandStatus = ETrue; |
666 TBool commandStatus = ETrue; |
667 |
667 |
668 switch( aCommand ) |
668 switch( aCommand ) |
669 { |
669 { |
670 case EPhoneInCallCmdDtmfManualQuery: |
|
671 if ( iStateMachine->PhoneEngineInfo()->CallState( KPEEmergencyCallId ) == EPEStateDialing ) |
|
672 { |
|
673 // Remove emergency connecting note |
|
674 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote ); |
|
675 } |
|
676 commandStatus = CPhoneGsmInCall::HandleCommandL( aCommand ); |
|
677 break; |
|
678 |
|
679 case EPhoneDtmfDialerExit: // fall through |
670 case EPhoneDtmfDialerExit: // fall through |
680 case EPhoneDtmfDialerCancel: |
671 case EPhoneDtmfDialerCancel: |
681 { |
672 { |
682 if ( iStateMachine->PhoneEngineInfo()->CallState( KPEEmergencyCallId ) == EPEStateDialing ) |
673 if ( iStateMachine->PhoneEngineInfo()->CallState( KPEEmergencyCallId ) == EPEStateDialing ) |
683 { |
674 { |
684 CloseDTMFEditorL(); |
675 CloseDTMFEditorL(); |
685 |
676 |
686 TPhoneCmdParamBoolean isProgressNoteVisible; |
677 TPhoneCmdParamBoolean isNoteVisible; |
687 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsProgressNoteVisible, |
678 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetIsNoteVisible, |
688 &isProgressNoteVisible ); |
679 &isNoteVisible ); |
689 |
680 |
690 if ( !isProgressNoteVisible.Boolean() ) |
681 if ( !isNoteVisible.Boolean() ) |
691 { |
682 { |
692 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
683 ShowNoteL( EPhoneEmergencyConnectWaitNote ); |
693 UpdateSetupCbaL(); |
684 UpdateSetupCbaL(); |
694 } |
685 } |
695 } |
686 } |