diff -r 8871b09be73b -r 24062c24fe38 phoneapp/phoneuicontrol/src/cphonestateincoming.cpp --- a/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp Fri Feb 19 22:50:26 2010 +0200 +++ b/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp Fri Mar 12 15:42:40 2010 +0200 @@ -380,14 +380,6 @@ // Stop tone playing, if necessary iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone ); - if( IsVideoCall( aCallId ) && !IsAutoLockOn() ) - { - // For keeping video call on top - TPhoneCmdParamBoolean booleanParam; - booleanParam.SetBoolean( EFalse ); - iViewCommandHandle->ExecuteCommandL( - EPhoneViewSetNeedToSendToBackgroundStatus, &booleanParam ); - } BeginTransEffectLC( ENumberEntryOpen ); @@ -485,7 +477,7 @@ if ( IsNumberEntryUsedL() ) { - if ( NeedToSendToBackgroundL() ) + if ( NeedToReturnToForegroundAppL() ) { // Return phone to the background if send to background is needed. iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); @@ -501,7 +493,7 @@ SetNumberEntryVisibilityL(ETrue); } } - else if ( NeedToSendToBackgroundL() || + else if ( NeedToReturnToForegroundAppL() || SoftRejectMessageEditorIsDisplayedL() ) { // Continue displaying current app but set up the