101 switch ( aMessage ) |
101 switch ( aMessage ) |
102 { |
102 { |
103 case MEngineMonitor::EPEMessageConnecting: |
103 case MEngineMonitor::EPEMessageConnecting: |
104 HandleConnectingL( aCallId ); |
104 HandleConnectingL( aCallId ); |
105 break; |
105 break; |
106 |
|
107 case MEngineMonitor::EPEMessageShowVersion: |
|
108 { |
|
109 if ( iStateMachine->SecurityMode()->IsSecurityMode() ) |
|
110 { |
|
111 // Do nothing if security mode is enabled. |
|
112 return; |
|
113 } |
|
114 } |
|
115 // Fall through |
|
116 |
106 |
117 // fall through. |
107 case MEngineMonitor::EPEMessageShowVersion: |
|
108 { |
|
109 if ( iStateMachine->SecurityMode()->IsSecurityMode() ) |
|
110 { |
|
111 // Do nothing if security mode is enabled. |
|
112 return; |
|
113 } |
|
114 } |
|
115 // Fall through |
118 case MEngineMonitor::EPEMessageIssuingSSRequest: |
116 case MEngineMonitor::EPEMessageIssuingSSRequest: |
119 case MEngineMonitor::EPEMessageCallBarred: |
117 case MEngineMonitor::EPEMessageCallBarred: |
120 case MEngineMonitor::EPEMessageIssuedSSRequest: |
118 case MEngineMonitor::EPEMessageIssuedSSRequest: |
121 case MEngineMonitor::EPEMessageTempClirActivationUnsuccessful: |
119 case MEngineMonitor::EPEMessageTempClirActivationUnsuccessful: |
122 case MEngineMonitor::EPEMessageIncCallIsForw: |
120 case MEngineMonitor::EPEMessageIncCallIsForw: |
157 { |
155 { |
158 // Only handle connecting case for GSM protocol. In CDMA, this message is |
156 // Only handle connecting case for GSM protocol. In CDMA, this message is |
159 // set when the CDMA network receives the call, not (like in GSM) when |
157 // set when the CDMA network receives the call, not (like in GSM) when |
160 // when the remote party receives the call. So, in CDMA, the user |
158 // when the remote party receives the call. So, in CDMA, the user |
161 // should still be able to cancel the MO call before the call is connected. |
159 // should still be able to cancel the MO call before the call is connected. |
162 __LOGMETHODSTARTEND( EPhoneUIStates, |
160 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneCallSetup::HandleConnectingL()"); |
163 "CPhoneCallSetup::HandleConnectingL()"); |
|
164 |
|
165 BeginUiUpdateLC(); |
161 BeginUiUpdateLC(); |
166 UpdateRemoteInfoDataL ( aCallId ); |
162 UpdateRemoteInfoDataL ( aCallId ); |
|
163 |
|
164 SetNeedToReturnToForegroundAppStatusL( EFalse ); |
167 |
165 |
168 // Re-enable global notes |
166 // Re-enable global notes |
169 TPhoneCmdParamBoolean globalNotifierParam; |
167 TPhoneCmdParamBoolean globalNotifierParam; |
170 globalNotifierParam.SetBoolean( EFalse ); |
168 globalNotifierParam.SetBoolean( EFalse ); |
171 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
169 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |