phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp
changeset 30 ebdbd102c78a
parent 22 6bb1b21d2484
child 51 f39ed5e045e0
equal deleted inserted replaced
27:2f8f8080a020 30:ebdbd102c78a
   119         "CPhoneStateCallSetup::HandleCommandL()" );
   119         "CPhoneStateCallSetup::HandleCommandL()" );
   120     TBool commandStatus = ETrue;
   120     TBool commandStatus = ETrue;
   121     
   121     
   122     switch( aCommand )
   122     switch( aCommand )
   123         {
   123         {
       
   124         case EPhoneInCallCmdDialer:
       
   125             iViewCommandHandle->ExecuteCommandL( EPhoneViewOpenDialer );
       
   126             break;
       
   127             
   124         case EPhoneNumberAcqCmdAddToContacts:
   128         case EPhoneNumberAcqCmdAddToContacts:
   125             {
   129             {
   126             // If call setup is ongoing then add to contacts query should
   130             // If call setup is ongoing then add to contacts query should
   127             // not be opened -> do nothing here.
   131             // not be opened -> do nothing here.
   128             }
   132             }
   579     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   583     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   580     
   584     
   581     BeginUiUpdateLC();
   585     BeginUiUpdateLC();
   582         
   586         
   583     // Remove the number entry if it isn't DTMF dialer
   587     // Remove the number entry if it isn't DTMF dialer
   584     if ( !iOnScreenDialer || !IsNumberEntryVisibleL() || !IsDTMFEditorVisibleL() )
   588     /*if ( !iOnScreenDialer || !IsNumberEntryVisibleL() || !IsDTMFEditorVisibleL() )
   585         {
   589         {
   586         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
   590         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
   587         }
   591         }*/
   588     
   592     
   589     // Update the single call
   593     // Update the single call
   590     CPhoneState::UpdateSingleActiveCallL( aCallId );
   594     CPhoneState::UpdateSingleActiveCallL( aCallId );
   591             
   595             
   592     // Update touch buttons
   596     // Update touch buttons