phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp
branchRCL_3
changeset 14 24062c24fe38
parent 0 5f000ab63145
child 25 91c2fb4b78df
equal deleted inserted replaced
9:8871b09be73b 14:24062c24fe38
   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();