diff -r 8871b09be73b -r 24062c24fe38 phoneapp/phoneuistates/src/cphonetwosingles.cpp --- a/phoneapp/phoneuistates/src/cphonetwosingles.cpp Fri Feb 19 22:50:26 2010 +0200 +++ b/phoneapp/phoneuistates/src/cphonetwosingles.cpp Fri Mar 12 15:42:40 2010 +0200 @@ -200,20 +200,12 @@ switch( activeCallCount.Integer() ) { case EOneActiveCall: - { - if ( IsNumberEntryUsedL() ) - { - // Show the number entry if it exists - SetNumberEntryVisibilityL(ETrue); - } - else - { - // Close menu bar if number entry is not open. - iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); + { + // Close menu bar if number entry is not open. + iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); - // Set incall CBAs - UpdateCbaL( EPhoneCallHandlingInCallCBA ); - } + // Set incall CBAs + UpdateCbaL( EPhoneCallHandlingInCallCBA ); TPhoneCmdParamCallStateData callStateData; callStateData.SetCallState( EPEStateHeld ); @@ -445,25 +437,15 @@ // Close menu bar, if it is displayed iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); - // Cannot delete active note, e.g. New call query, - // but show waiting note with or without caller name - if ( IsAnyQueryActiveL() || - ( !aCommandParam.Boolean() && iOnScreenDialer ) ) - { - CallWaitingNoteL( aCallId ); - } - else - { - // Remove any phone dialogs if they are displayed - iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs ); - } + // Remove any phone dialogs if they are displayed + iViewCommandHandle->ExecuteCommandL( EPhoneViewRemovePhoneDialogs ); // Indicate that the Phone needs to be sent to the background if // an application other than the top application is in the foreground TPhoneCmdParamBoolean booleanParam; booleanParam.SetBoolean( !TopAppIsDisplayedL() ); iViewCommandHandle->ExecuteCommandL( - EPhoneViewSetNeedToSendToBackgroundStatus, + EPhoneViewSetNeedToReturnToForegroundAppStatus, &booleanParam ); // Bring Phone app in the foreground