equal
deleted
inserted
replaced
218 |
218 |
219 // Stop capturing keys |
219 // Stop capturing keys |
220 CaptureKeysDuringCallNotificationL( EFalse ); |
220 CaptureKeysDuringCallNotificationL( EFalse ); |
221 |
221 |
222 // Remove the number entry if it isn't DTMF dialer |
222 // Remove the number entry if it isn't DTMF dialer |
223 if ( !iOnScreenDialer || !IsNumberEntryVisibleL() || !IsDTMFEditorVisibleL() ) |
223 if ( !iOnScreenDialer || !IsNumberEntryVisibleL() ) |
224 { |
224 { |
225 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
225 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
226 } |
226 } |
227 |
227 |
228 TPhoneCmdParamCallHeaderData callHeaderParam; |
228 TPhoneCmdParamCallHeaderData callHeaderParam; |
264 // Capturing keys and number entry must be removed because some |
264 // Capturing keys and number entry must be removed because some |
265 // networks jump over connecting state directly to connected state. |
265 // networks jump over connecting state directly to connected state. |
266 CaptureKeysDuringCallNotificationL( EFalse ); |
266 CaptureKeysDuringCallNotificationL( EFalse ); |
267 |
267 |
268 // Remove the number entry if it isn't DTMF dialer |
268 // Remove the number entry if it isn't DTMF dialer |
269 if ( !iOnScreenDialer || !IsNumberEntryVisibleL() || !IsDTMFEditorVisibleL() ) |
269 if ( !iOnScreenDialer || !IsNumberEntryVisibleL() ) |
270 { |
270 { |
271 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
271 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry ); |
272 } |
272 } |
273 |
273 |
274 // Set Hold flag to view |
274 // Set Hold flag to view |
292 // |
292 // |
293 void CPhoneSingleAndCallSetup::HandleIdleL( TInt aCallId ) |
293 void CPhoneSingleAndCallSetup::HandleIdleL( TInt aCallId ) |
294 { |
294 { |
295 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneSingleAndCallSetup::HandleIdleL()"); |
295 __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneSingleAndCallSetup::HandleIdleL()"); |
296 |
296 |
297 BeginTransEffectLC( ENumberEntryOpen ); |
|
298 BeginUiUpdateLC(); |
297 BeginUiUpdateLC(); |
299 |
298 |
300 // Remove call |
299 // Remove call |
301 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
300 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
302 |
|
303 // Close menu bar, if it is displayed |
|
304 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
|
305 |
301 |
306 // Find out do we have single or outgoing call left |
302 // Find out do we have single or outgoing call left |
307 TPhoneCmdParamInteger activeCallCount; |
303 TPhoneCmdParamInteger activeCallCount; |
308 iViewCommandHandle->ExecuteCommandL( |
304 iViewCommandHandle->ExecuteCommandL( |
309 EPhoneViewGetCountOfActiveCalls, &activeCallCount ); |
305 EPhoneViewGetCountOfActiveCalls, &activeCallCount ); |
334 // Display call termination note, if necessary |
330 // Display call termination note, if necessary |
335 DisplayCallTerminationNoteL(); |
331 DisplayCallTerminationNoteL(); |
336 |
332 |
337 // Single call was terminated |
333 // Single call was terminated |
338 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
334 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
339 SetToolbarDimming( ETrue ); |
|
340 SetToolbarButtonLoudspeakerEnabled(); |
335 SetToolbarButtonLoudspeakerEnabled(); |
341 // Update call setup CBAs |
336 // Update call setup CBAs |
342 UpdateCbaL( EPhoneCallHandlingCallSetupCBA ); |
337 UpdateCbaL( EPhoneCallHandlingCallSetupCBA ); |
343 iStateMachine->ChangeState( EPhoneStateCallSetup ); |
338 iStateMachine->ChangeState( EPhoneStateCallSetup ); |
344 } |
339 } |
345 |
340 |
346 EndUiUpdate(); |
341 EndUiUpdate(); |
347 EndTransEffect(); |
|
348 } |
342 } |
349 |
343 |
350 // ----------------------------------------------------------- |
344 // ----------------------------------------------------------- |
351 // CPhoneSingleAndCallSetup::HandleCommandL |
345 // CPhoneSingleAndCallSetup::HandleCommandL |
352 // ----------------------------------------------------------- |
346 // ----------------------------------------------------------- |