equal
deleted
inserted
replaced
197 TPhoneCmdParamCallStateData callState; |
197 TPhoneCmdParamCallStateData callState; |
198 callState.SetCallState( EPEStateConnected ); |
198 callState.SetCallState( EPEStateConnected ); |
199 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetCallIdByState, &callState ); |
199 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetCallIdByState, &callState ); |
200 TInt connectedCall = callState.CallId(); |
200 TInt connectedCall = callState.CallId(); |
201 |
201 |
|
202 IsNumberEntryUsedL() ? |
|
203 BeginTransEffectLC( ECallUiAppear ) : |
|
204 BeginTransEffectLC( ENumberEntryOpen ); |
202 BeginUiUpdateLC(); |
205 BeginUiUpdateLC(); |
203 |
206 |
204 // Hide the number entry if it exists |
207 // Hide the number entry if it exists |
205 if ( IsNumberEntryUsedL() ) |
208 if ( IsNumberEntryUsedL() ) |
206 { |
209 { |
211 dialerParam.SetBoolean( ETrue ); |
214 dialerParam.SetBoolean( ETrue ); |
212 |
215 |
213 AllowShowingOfWaitingCallHeaderL( dialerParam ); |
216 AllowShowingOfWaitingCallHeaderL( dialerParam ); |
214 |
217 |
215 // Close fast swap window if it's displayed |
218 // Close fast swap window if it's displayed |
216 CEikonEnv::Static()->DismissTaskList(); |
219 EikonEnv()->DismissTaskList(); |
217 |
220 |
218 // If the 1st incoming call became Connected, this is waiting call |
221 // If the 1st incoming call became Connected, this is waiting call |
219 // If the 1st incoming call went just Idle, this is a normal call |
222 // If the 1st incoming call went just Idle, this is a normal call |
220 if ( connectedCall > KErrNotFound ) |
223 if ( connectedCall > KErrNotFound ) |
221 { |
224 { |
234 SetToolbarDimming( EFalse ); |
237 SetToolbarDimming( EFalse ); |
235 // Display incoming call |
238 // Display incoming call |
236 DisplayIncomingCallL( aCallId, dialerParam ); |
239 DisplayIncomingCallL( aCallId, dialerParam ); |
237 |
240 |
238 EndUiUpdate(); |
241 EndUiUpdate(); |
|
242 EndTransEffect(); |
239 |
243 |
240 if ( connectedCall > KErrNotFound ) |
244 if ( connectedCall > KErrNotFound ) |
241 { |
245 { |
242 // Go to incoming state |
|
243 iCbaManager->UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
246 iCbaManager->UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
244 iStateMachine->ChangeState( EPhoneStateWaitingInSingle ); |
247 iStateMachine->ChangeState( EPhoneStateWaitingInSingle ); |
245 } |
248 } |
246 } |
249 } |
247 |
250 |
268 iViewCommandHandle->ExecuteCommandL( EPhoneViewDisableKeyLockWithoutNote ); |
271 iViewCommandHandle->ExecuteCommandL( EPhoneViewDisableKeyLockWithoutNote ); |
269 } |
272 } |
270 |
273 |
271 // Indicate that the Phone needs to be sent to the background if |
274 // Indicate that the Phone needs to be sent to the background if |
272 // an application other than the top application is in the foreground |
275 // an application other than the top application is in the foreground |
273 TPhoneCmdParamBoolean booleanParam; |
276 SetNeedToReturnToForegroundAppStatusL( !TopAppIsDisplayedL() ); |
274 booleanParam.SetBoolean( !TopAppIsDisplayedL() ); |
277 |
275 iViewCommandHandle->ExecuteCommandL( |
|
276 EPhoneViewSetNeedToReturnToForegroundAppStatus, |
|
277 &booleanParam ); |
|
278 |
|
279 // Bring Phone app in the foreground |
278 // Bring Phone app in the foreground |
280 TPhoneCmdParamInteger uidParam; |
279 TPhoneCmdParamInteger uidParam; |
281 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
280 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
282 iViewCommandHandle->ExecuteCommandL( EPhoneViewBringAppToForeground, |
281 iViewCommandHandle->ExecuteCommandL( EPhoneViewBringAppToForeground, |
283 &uidParam ); |
282 &uidParam ); |