diff -r 8871b09be73b -r 24062c24fe38 phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp --- a/phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp Fri Feb 19 22:50:26 2010 +0200 +++ b/phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp Fri Mar 12 15:42:40 2010 +0200 @@ -566,13 +566,8 @@ // void CPhoneStateCallSetup::HandleConnectedL( TInt aCallId ) { - __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleConnectedL()"); - // Keep Phone in the foreground - TPhoneCmdParamBoolean booleanParam; - booleanParam.SetBoolean( EFalse ); - iViewCommandHandle->ExecuteCommandL( - EPhoneViewSetNeedToSendToBackgroundStatus, &booleanParam ); - + __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateCallSetup::HandleConnectedL()"); + // Close menu bar, if it is displayed iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); @@ -631,7 +626,7 @@ // Show the number entry if it exists SetNumberEntryVisibilityL(ETrue); } - else if ( NeedToSendToBackgroundL() ) + else if ( NeedToReturnToForegroundAppL() ) { __PHONELOG( EBasic,EPhoneControl,"CPhoneStateCallSetup::elseif1"); // Continue displaying current app but set up the