194 if( callStateData.CallId() == aCallId ) |
194 if( callStateData.CallId() == aCallId ) |
195 { |
195 { |
196 // Close menu bar, if it is displayed |
196 // Close menu bar, if it is displayed |
197 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
197 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
198 |
198 |
199 TransitionHandlerL().BeginUiUpdateLC(); |
199 CPhoneState::BeginUiUpdateLC(); |
200 |
200 |
201 // Show bubble |
201 // Show bubble |
202 TPhoneCmdParamCallHeaderData callHeaderParam; |
202 TPhoneCmdParamCallHeaderData callHeaderParam; |
203 callHeaderParam.SetCallState( EPEStateConnected ); |
203 callHeaderParam.SetCallState( EPEStateConnected ); |
204 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
204 iViewCommandHandle->ExecuteCommandL( EPhoneViewUpdateBubble, aCallId, |
205 &callHeaderParam ); |
205 &callHeaderParam ); |
206 |
206 |
207 SetTouchPaneButtons( EPhoneTwoSinglesButtons ); |
207 SetTouchPaneButtons( EPhoneTwoSinglesButtons ); |
208 TransitionHandlerL().EndUiUpdate(); |
208 EndUiUpdate(); |
209 |
209 |
210 // Set Hold flag to view |
210 // Set Hold flag to view |
211 TPhoneCmdParamBoolean holdFlag; |
211 TPhoneCmdParamBoolean holdFlag; |
212 holdFlag.SetBoolean( EFalse ); |
212 holdFlag.SetBoolean( EFalse ); |
213 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag ); |
213 iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag ); |
238 // |
238 // |
239 void CPhoneSingleAndAlerting::HandleIdleL( TInt aCallId ) |
239 void CPhoneSingleAndAlerting::HandleIdleL( TInt aCallId ) |
240 { |
240 { |
241 __LOGMETHODSTARTEND( EPhoneUIStates, |
241 __LOGMETHODSTARTEND( EPhoneUIStates, |
242 "CPhoneSingleAndAlerting::HandleIdleL()"); |
242 "CPhoneSingleAndAlerting::HandleIdleL()"); |
243 TransitionHandlerL().BeginUiUpdateLC(); |
243 |
|
244 BeginUiUpdateLC(); |
244 |
245 |
245 // Remove call |
246 // Remove call |
246 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
247 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
247 |
248 |
248 // Close menu bar, if it is displayed |
249 // Close menu bar, if it is displayed |
274 DisplayCallTerminationNoteL(); |
275 DisplayCallTerminationNoteL(); |
275 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
276 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
276 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
277 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
277 iStateMachine->ChangeState( EPhoneStateAlerting ); |
278 iStateMachine->ChangeState( EPhoneStateAlerting ); |
278 } |
279 } |
279 TransitionHandlerL().EndUiUpdate(); |
280 |
|
281 EndUiUpdate(); |
280 } |
282 } |
281 |
283 |
282 // ----------------------------------------------------------- |
284 // ----------------------------------------------------------- |
283 // CPhoneSingleAndAlerting::OpenMenuBarL |
285 // CPhoneSingleAndAlerting::OpenMenuBarL |
284 // ----------------------------------------------------------- |
286 // ----------------------------------------------------------- |