diff -r 38529f706030 -r 544e34b3255a phoneapp/phoneuistates/src/cphonesingleandwaiting.cpp --- a/phoneapp/phoneuistates/src/cphonesingleandwaiting.cpp Wed Mar 31 21:30:06 2010 +0300 +++ b/phoneapp/phoneuistates/src/cphonesingleandwaiting.cpp Wed Apr 14 15:56:42 2010 +0300 @@ -622,14 +622,11 @@ CloseCustomizedDialerL(); } - if ( IsNumberEntryUsedL() ) + if ( IsNumberEntryUsedL() && NeedToReturnToForegroundAppL() ) { - if ( NeedToReturnToForegroundAppL() ) - { - iViewCommandHandle->ExecuteCommandL( EPhoneViewSetControlAndVisibility ); + iViewCommandHandle->ExecuteCommandL( EPhoneViewSetControlAndVisibility ); - UpdateCbaL( EPhoneCallHandlingInCallCBA ); - } + UpdateCbaL( EPhoneCallHandlingInCallCBA ); } else {