phoneapp/phoneuistates/src/cphonesingleandwaiting.cpp
branchRCL_3
changeset 19 544e34b3255a
parent 17 38529f706030
child 25 91c2fb4b78df
--- 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
         {