equal
deleted
inserted
replaced
204 { |
204 { |
205 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneSingleAndCallSetup::HandleConnectingL()"); |
205 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneSingleAndCallSetup::HandleConnectingL()"); |
206 |
206 |
207 BeginUiUpdateLC(); |
207 BeginUiUpdateLC(); |
208 |
208 |
209 UpdateRemoteInfoDataL ( aCallId ); |
|
210 |
|
211 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveGlobalNote ); |
209 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveGlobalNote ); |
212 |
210 |
213 // Re-enable global notes |
211 // Re-enable global notes |
214 TPhoneCmdParamBoolean globalNotifierParam; |
212 TPhoneCmdParamBoolean globalNotifierParam; |
215 globalNotifierParam.SetBoolean( EFalse ); |
213 globalNotifierParam.SetBoolean( EFalse ); |
216 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
214 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled, |
217 &globalNotifierParam ); |
215 &globalNotifierParam ); |
218 |
216 |
219 iNumberEntryManager->RemoveNumberEntryIfVisibilityIsFalseL(); |
217 iNumberEntryManager->RemoveNumberEntryIfVisibilityIsFalseL(); |
220 |
218 |
221 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId ); |
219 UpdateCallHeaderAndUiCommandsL( aCallId ); |
222 UpdateUiCommands(); |
|
223 EndUiUpdate(); |
220 EndUiUpdate(); |
224 |
221 |
225 // Go to alerting state |
222 // Go to alerting state |
226 iStateMachine->ChangeState( EPhoneStateAlertingInSingle ); |
223 iStateMachine->ChangeState( EPhoneStateAlertingInSingle ); |
227 } |
224 } |
231 // ----------------------------------------------------------- |
228 // ----------------------------------------------------------- |
232 // |
229 // |
233 void CPhoneSingleAndCallSetup::HandleConnectedL( TInt aCallId ) |
230 void CPhoneSingleAndCallSetup::HandleConnectedL( TInt aCallId ) |
234 { |
231 { |
235 __LOGMETHODSTARTEND( EPhoneUIStates, |
232 __LOGMETHODSTARTEND( EPhoneUIStates, |
236 "CPhoneSingleAndCallSetup::HandleConnectedL()"); |
233 "CPhoneSingleAndCallSetup::HandleConnectedL()"); |
237 |
|
238 BeginUiUpdateLC(); |
|
239 |
|
240 // Show bubble |
|
241 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId ); |
|
242 |
|
243 // Remove the number entry if it isn't DTMF dialer |
234 // Remove the number entry if it isn't DTMF dialer |
244 if ( !iNumberEntryManager->IsNumberEntryVisibleL() ) |
235 if ( !iNumberEntryManager->IsNumberEntryVisibleL() ) |
245 { |
236 { |
246 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
237 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
247 } |
238 } |
248 |
239 |
249 UpdateUiCommands(); |
240 UpdateCallHeaderAndUiCommandsL( aCallId ); |
250 |
241 |
251 EndUiUpdate(); |
|
252 |
|
253 // Go to two singles state |
|
254 iStateMachine->ChangeState( EPhoneStateTwoSingles ); |
242 iStateMachine->ChangeState( EPhoneStateTwoSingles ); |
255 |
243 |
256 } |
244 } |
257 |
245 |
258 // ----------------------------------------------------------- |
246 // ----------------------------------------------------------- |