equal
deleted
inserted
replaced
399 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
399 CPhonePubSubProxy::Instance()->ChangePropertyValue( |
400 KPSUidScreenSaver, |
400 KPSUidScreenSaver, |
401 KScreenSaverAllowScreenSaver, |
401 KScreenSaverAllowScreenSaver, |
402 EPhoneScreensaverNotAllowed ); |
402 EPhoneScreensaverNotAllowed ); |
403 |
403 |
|
404 IsNumberEntryUsedL() ? |
|
405 BeginTransEffectLC( ECallUiAppear ) : |
|
406 BeginTransEffectLC( ENumberEntryOpen ); |
404 BeginUiUpdateLC(); |
407 BeginUiUpdateLC(); |
405 |
408 |
406 // Hide the number entry if it exists |
409 // Hide the number entry if it exists |
407 if ( IsNumberEntryUsedL() ) |
410 if ( IsNumberEntryUsedL() ) |
408 { |
411 { |
414 |
417 |
415 // Get allow waiting call header param value. |
418 // Get allow waiting call header param value. |
416 AllowShowingOfWaitingCallHeaderL( dialerParam ); |
419 AllowShowingOfWaitingCallHeaderL( dialerParam ); |
417 |
420 |
418 // Close fast swap window if it's displayed |
421 // Close fast swap window if it's displayed |
419 CEikonEnv::Static()->DismissTaskList(); |
422 EikonEnv()->DismissTaskList(); |
420 |
423 |
421 // Display incoming call |
424 // Display incoming call |
422 DisplayIncomingCallL( aCallId, dialerParam ); |
425 DisplayIncomingCallL( aCallId, dialerParam ); |
423 |
426 |
424 // Set touch controls |
427 // Set touch controls |
425 SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); |
428 SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); |
426 |
429 |
427 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
430 SetTouchPaneButtons( EPhoneWaitingCallButtons ); |
428 |
431 |
429 EndUiUpdate(); |
432 EndUiUpdate(); |
|
433 EndTransEffect(); |
430 |
434 |
431 // Go to incoming state |
435 // Go to incoming state |
432 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
436 UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); |
433 iStateMachine->ChangeState( EPhoneStateTwoSinglesAndWaiting ); |
437 iStateMachine->ChangeState( EPhoneStateTwoSinglesAndWaiting ); |
434 } |
438 } |
437 // CPhoneTwoSingles::DisplayIncomingCallL |
441 // CPhoneTwoSingles::DisplayIncomingCallL |
438 // ----------------------------------------------------------- |
442 // ----------------------------------------------------------- |
439 // |
443 // |
440 void CPhoneTwoSingles::DisplayIncomingCallL( |
444 void CPhoneTwoSingles::DisplayIncomingCallL( |
441 TInt aCallId, |
445 TInt aCallId, |
442 const TPhoneCmdParamBoolean aCommandParam ) |
446 const TPhoneCmdParamBoolean /*aCommandParam*/ ) |
443 { |
447 { |
444 __LOGMETHODSTARTEND( EPhoneUIStates, |
448 __LOGMETHODSTARTEND( EPhoneUIStates, |
445 "CPhoneTwoSingles::DisplayIncomingCallL()"); |
449 "CPhoneTwoSingles::DisplayIncomingCallL()"); |
446 // Close menu bar, if it is displayed |
450 // Close menu bar, if it is displayed |
447 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
451 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
449 // Remove any phone dialogs if they are displayed |
453 // Remove any phone dialogs if they are displayed |
450 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs ); |
454 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs ); |
451 |
455 |
452 // Indicate that the Phone needs to be sent to the background if |
456 // Indicate that the Phone needs to be sent to the background if |
453 // an application other than the top application is in the foreground |
457 // an application other than the top application is in the foreground |
454 TPhoneCmdParamBoolean booleanParam; |
458 SetNeedToReturnToForegroundAppStatusL( !TopAppIsDisplayedL() ); |
455 booleanParam.SetBoolean( !TopAppIsDisplayedL() ); |
|
456 iViewCommandHandle->ExecuteCommandL( |
|
457 EPhoneViewSetNeedToReturnToForegroundAppStatus, |
|
458 &booleanParam ); |
|
459 |
459 |
460 // Bring Phone app in the foreground |
460 // Bring Phone app in the foreground |
461 TPhoneCmdParamInteger uidParam; |
461 TPhoneCmdParamInteger uidParam; |
462 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
462 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
463 iViewCommandHandle->ExecuteCommandL( EPhoneViewBringAppToForeground, |
463 iViewCommandHandle->ExecuteCommandL( EPhoneViewBringAppToForeground, |