phoneapp/phoneuicontrol/src/cphonestateincall.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
child 78 baacf668fe89
--- a/phoneapp/phoneuicontrol/src/cphonestateincall.cpp	Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuicontrol/src/cphonestateincall.cpp	Mon Oct 04 16:06:10 2010 +0300
@@ -214,17 +214,7 @@
             break;
         
         case MEngineMonitor::EPEMessageRemotePartyInfoChanged:
-            // If there is a waiting call then update header and label
-            // else forward message to CPhoneState.
-            if ( IsWaitingCallL( aCallId ) )
-                {
-                // Update remote info data and label.
-                UpdateRemoteInfoDataAndLabelL( aCallId );
-                }
-            else
-                {
-                CPhoneState::HandlePhoneEngineMessageL( aMessage, aCallId );
-                }
+            UpdateCallHeader( aCallId );
             break;
             
         default:
@@ -234,20 +224,6 @@
     }
 
 // -----------------------------------------------------------
-// CPhoneStateInCall::UpdateRemoteInfoDataAndLabelL
-// -----------------------------------------------------------
-//
-void CPhoneStateInCall::UpdateRemoteInfoDataAndLabelL( 
-        TInt aCallId )
-    {
-    __LOGMETHODSTARTEND(EPhoneControl,
-            "CPhoneStateInCall::UpdateRemoteInfoDataAndLabelL ()" );
-    iViewCommandHandle->ExecuteCommandL( 
-        EPhoneViewUpdateCallHeaderRemoteInfoDataAndLabel, 
-        aCallId );
-    }
-
-// -----------------------------------------------------------
 // CPhoneStateInCall::HandleIdleL
 // -----------------------------------------------------------
 //