phoneapp/phoneuistates/src/cphonecallsetup.cpp
branchRCL_3
changeset 81 c26cc2a7c548
parent 69 8baf28733c3d
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
   156     // Only handle connecting case for GSM protocol. In CDMA, this message is 
   156     // Only handle connecting case for GSM protocol. In CDMA, this message is 
   157     // set when the CDMA network receives the call, not (like in GSM) when
   157     // set when the CDMA network receives the call, not (like in GSM) when
   158     // when the remote party receives the call. So, in CDMA, the user
   158     // when the remote party receives the call. So, in CDMA, the user
   159     // should still be able to cancel the MO call before the call is connected.
   159     // should still be able to cancel the MO call before the call is connected.
   160     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneCallSetup::HandleConnectingL()");
   160     __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneCallSetup::HandleConnectingL()");
   161     TransitionHandlerL().BeginUiUpdateLC();
   161     BeginUiUpdateLC();
   162     UpdateRemoteInfoDataL ( aCallId );
   162     UpdateRemoteInfoDataL ( aCallId );
   163     
   163     
   164     SetNeedToReturnToForegroundAppStatusL( EFalse );
       
   165     
       
   166     // Re-enable global notes
   164     // Re-enable global notes
   167     TPhoneCmdParamBoolean globalNotifierParam;
   165     EnableGlobalNotifiersL();
   168     globalNotifierParam.SetBoolean( EFalse );
       
   169     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled,
       
   170         &globalNotifierParam );
       
   171 
   166 
   172     // Stop capturing keys
   167     // Stop capturing keys
   173     CaptureKeysDuringCallNotificationL( EFalse );
   168     CaptureKeysDuringCallNotificationL( EFalse );
   174     
   169     
   175     TPhoneCmdParamCallHeaderData callHeaderParam;
   170     TPhoneCmdParamCallHeaderData callHeaderParam;
   185         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
   180         iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
   186         }
   181         }
   187 
   182 
   188     SetToolbarButtonLoudspeakerEnabled();
   183     SetToolbarButtonLoudspeakerEnabled();
   189 
   184 
   190     TransitionHandlerL().EndUiUpdate();
   185     EndUiUpdate();
   191     
   186     
   192     UpdateCbaL( EPhoneCallHandlingInCallCBA );
   187     UpdateCbaL( EPhoneCallHandlingInCallCBA );
   193     iStateMachine->ChangeState( EPhoneStateAlerting );
   188     iStateMachine->ChangeState( EPhoneStateAlerting );
   194     }
   189     }
   195 
   190