phoneapp/phoneuistates/src/cphonecallsetupandwaiting.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
child 78 baacf668fe89
--- a/phoneapp/phoneuistates/src/cphonecallsetupandwaiting.cpp	Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonecallsetupandwaiting.cpp	Mon Oct 04 16:06:10 2010 +0300
@@ -138,12 +138,9 @@
 
     if( callStateData.CallId() > KErrNotFound )
         {
-        iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble,
-            callStateData.CallId() );
-        
         BringIncomingToForegroundL();       
         SetRingingTonePlaybackL( callStateData.CallId() );
-        UpdateUiCommands();
+        UpdateCallHeaderAndUiCommandsL( callStateData.CallId() );
         SetBackButtonActive(EFalse);
         iStateMachine->ChangeState( EPhoneStateIncoming );
         }
@@ -162,11 +159,7 @@
 void CPhoneCallSetupAndWaiting::HandleConnectedL( TInt aCallId )
     {
     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneCallSetupAndWaiting::HandleConnectedL() ");
-    BeginUiUpdateLC();
-    iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId );
-    
-    UpdateUiCommands();
-    EndUiUpdate();
+    UpdateCallHeaderAndUiCommandsL( aCallId );
     iNumberEntryManager->SetVisibilityIfNumberEntryUsedL(ETrue);
     iStateMachine->ChangeState( EPhoneStateWaitingInSingle );
     }