phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp
changeset 78 baacf668fe89
parent 74 d1c62c765e48
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    26 #include "cphonestatecallsetup.h"
    26 #include "cphonestatecallsetup.h"
    27 #include "cphonestateincall.h"
    27 #include "cphonestateincall.h"
    28 #include "mphonestatemachine.h"
    28 #include "mphonestatemachine.h"
    29 #include "tphonecmdparamboolean.h"
    29 #include "tphonecmdparamboolean.h"
    30 #include "tphonecmdparaminteger.h"
    30 #include "tphonecmdparaminteger.h"
    31 #include "tphonecmdparamcallstatedata.h"
       
    32 #include "tphonecmdparamcallheaderdata.h"
    31 #include "tphonecmdparamcallheaderdata.h"
    33 #include "tphonecmdparamglobalnote.h"
    32 #include "tphonecmdparamglobalnote.h"
    34 #include "tphonecmdparamstring.h"
    33 #include "tphonecmdparamstring.h"
    35 #include "tphonecmdparamkeyevent.h"
    34 #include "tphonecmdparamkeyevent.h"
    36 #include "tphonecmdparamnote.h"
    35 #include "tphonecmdparamnote.h"
   475     if ( iNumberEntryManager->IsNumberEntryUsedL() )
   474     if ( iNumberEntryManager->IsNumberEntryUsedL() )
   476         {
   475         {
   477         iViewCommandHandle->ExecuteCommand(
   476         iViewCommandHandle->ExecuteCommand(
   478                 EPhoneViewGetNumberFromEntry,
   477                 EPhoneViewGetNumberFromEntry,
   479                 &stringParam );
   478                 &stringParam );
   480         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
       
   481         iViewCommandHandle->ExecuteCommandL( EPhoneViewLaunchLogs, &stringParam );
   479         iViewCommandHandle->ExecuteCommandL( EPhoneViewLaunchLogs, &stringParam );
   482         }    
   480         }    
   483     else
   481     else
   484         {
   482         {
   485         RemoveDialogsAndSendPhoneToBackgroundL();
   483         RemoveDialogsAndSendPhoneToBackgroundL();
   486         }
   484         }
       
   485     
       
   486     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
   487     EndUiUpdate();
   487     EndUiUpdate();
   488     CleanupStack::PopAndDestroy( phoneNumber );
   488     CleanupStack::PopAndDestroy( phoneNumber );
   489     iStateMachine->ChangeState( EPhoneStateIdle );
   489     iStateMachine->ChangeState( EPhoneStateIdle );
   490     }
   490     }
   491     
   491