equal
deleted
inserted
replaced
564 // CPhoneStateCallSetup::HandleConnectedL |
564 // CPhoneStateCallSetup::HandleConnectedL |
565 // ----------------------------------------------------------- |
565 // ----------------------------------------------------------- |
566 // |
566 // |
567 void CPhoneStateCallSetup::HandleConnectedL( TInt aCallId ) |
567 void CPhoneStateCallSetup::HandleConnectedL( TInt aCallId ) |
568 { |
568 { |
569 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleConnectedL()"); |
569 __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleConnectedL()"); |
570 // Keep Phone in the foreground |
570 |
571 TPhoneCmdParamBoolean booleanParam; |
|
572 booleanParam.SetBoolean( EFalse ); |
|
573 iViewCommandHandle->ExecuteCommandL( |
|
574 EPhoneViewSetNeedToSendToBackgroundStatus, &booleanParam ); |
|
575 |
|
576 // Close menu bar, if it is displayed |
571 // Close menu bar, if it is displayed |
577 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
572 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
578 |
573 |
579 BeginUiUpdateLC(); |
574 BeginUiUpdateLC(); |
580 |
575 |
629 if ( IsNumberEntryUsedL() ) |
624 if ( IsNumberEntryUsedL() ) |
630 { |
625 { |
631 // Show the number entry if it exists |
626 // Show the number entry if it exists |
632 SetNumberEntryVisibilityL(ETrue); |
627 SetNumberEntryVisibilityL(ETrue); |
633 } |
628 } |
634 else if ( NeedToSendToBackgroundL() ) |
629 else if ( NeedToReturnToForegroundAppL() ) |
635 { |
630 { |
636 __PHONELOG( EBasic,EPhoneControl,"CPhoneStateCallSetup::elseif1"); |
631 __PHONELOG( EBasic,EPhoneControl,"CPhoneStateCallSetup::elseif1"); |
637 // Continue displaying current app but set up the |
632 // Continue displaying current app but set up the |
638 // idle screen in the background |
633 // idle screen in the background |
639 SetupIdleScreenInBackgroundL(); |
634 SetupIdleScreenInBackgroundL(); |