phoneapp/phoneuicontrol/src/cphonestateincoming.cpp
branchRCL_3
changeset 69 8baf28733c3d
parent 62 5266b1f337bd
child 81 c26cc2a7c548
equal deleted inserted replaced
62:5266b1f337bd 69:8baf28733c3d
   368         &globalNotifierParam );
   368         &globalNotifierParam );
   369     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetEikonNotifiersDisabled,
   369     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetEikonNotifiersDisabled,
   370         &globalNotifierParam );
   370         &globalNotifierParam );
   371     // Stop tone playing, if necessary
   371     // Stop tone playing, if necessary
   372     iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone );
   372     iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone );
   373     BeginUiUpdateLC();
   373     TransitionHandlerL().BeginUiUpdateLC();
   374     // Update single call
   374     // Update single call
   375     UpdateSingleActiveCallL( aCallId );
   375     UpdateSingleActiveCallL( aCallId );
   376     SetTouchPaneButtons( EPhoneIncallButtons );
   376     SetTouchPaneButtons( EPhoneIncallButtons );
   377     SetToolbarDimming( EFalse );
   377     SetToolbarDimming( EFalse );
   378     EndUiUpdate();
   378     TransitionHandlerL().EndUiUpdate();
   379     iCbaManager->UpdateCbaL( EPhoneCallHandlingInCallCBA );
   379     iCbaManager->UpdateCbaL( EPhoneCallHandlingInCallCBA );
   380     iStateMachine->ChangeState( EPhoneStateSingle );
   380     iStateMachine->ChangeState( EPhoneStateSingle );
   381     }
   381     }
   382 
   382 
   383 // -----------------------------------------------------------
   383 // -----------------------------------------------------------
   420 //
   420 //
   421 void CPhoneStateIncoming::HandleIdleL( TInt aCallId )
   421 void CPhoneStateIncoming::HandleIdleL( TInt aCallId )
   422     {
   422     {
   423     __LOGMETHODSTARTEND(EPhoneControl,
   423     __LOGMETHODSTARTEND(EPhoneControl,
   424         "CPhoneStateIncoming::HandleIdleL ()" );
   424         "CPhoneStateIncoming::HandleIdleL ()" );
   425     BeginTransEffectLC( ENumberEntryClose );
   425     TransitionHandlerL().IdleCallUiUpdateLC();
   426     BeginUiUpdateLC();
       
   427     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   426     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   428     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   427     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   429     iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone );
   428     iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone );
   430     
   429     
   431     TPhoneCmdParamBoolean globalNotifierParam;
   430     TPhoneCmdParamBoolean globalNotifierParam;
   461         {
   460         {
   462         DisplayIdleScreenL();
   461         DisplayIdleScreenL();
   463         }
   462         }
   464  
   463  
   465     DeleteTouchPaneButtons();
   464     DeleteTouchPaneButtons();
   466     EndUiUpdate();
   465     TransitionHandlerL().EndUiUpdateAndEffect();
   467     EndTransEffect();
       
   468     iCbaManager->UpdateCbaL( EPhoneEmptyCBA );
   466     iCbaManager->UpdateCbaL( EPhoneEmptyCBA );
   469     iStateMachine->ChangeState( EPhoneStateIdle );
   467     iStateMachine->ChangeState( EPhoneStateIdle );
   470     }
   468     }
   471 
   469 
   472 // -----------------------------------------------------------
   470 // -----------------------------------------------------------