312 |
312 |
313 if ( IsNumberEntryUsedL() ) |
313 if ( IsNumberEntryUsedL() ) |
314 { |
314 { |
315 // Show the number entry if it exists |
315 // Show the number entry if it exists |
316 SetNumberEntryVisibilityL(ETrue); |
316 SetNumberEntryVisibilityL(ETrue); |
317 } |
317 } |
318 else |
318 else |
319 { |
319 { |
320 // Set incall CBAs |
320 // Set incall CBAs |
321 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
321 UpdateCbaL( EPhoneCallHandlingInCallCBA ); |
322 } |
322 } |
323 |
323 |
324 SetTouchPaneButtons( EPhoneIncallButtons ); |
324 SetTouchPaneButtons( EPhoneIncallButtons ); |
325 // UnCapture keys callsetup fails |
325 // UnCapture keys callsetup fails |
326 CaptureKeysDuringCallNotificationL( EFalse ); |
326 CaptureKeysDuringCallNotificationL( EFalse ); |
327 // Setup call was terminated |
327 // Setup call was terminated |
328 iStateMachine->ChangeState( EPhoneStateSingle ); |
328 iStateMachine->ChangeState( EPhoneStateSingle ); |
329 } |
329 } |
330 else |
330 else |
331 { |
331 { |
332 // Display call termination note, if necessary |
332 // Display call termination note, if necessary |
333 DisplayCallTerminationNoteL(); |
333 DisplayCallTerminationNoteL(); |
334 |
334 |
335 // Single call was terminated |
335 // Single call was terminated |
336 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
336 SetTouchPaneButtons( EPhoneCallSetupButtons ); |
337 SetToolbarDimming( ETrue ); |
337 SetToolbarDimming( ETrue ); |
338 SetToolbarButtonLoudspeakerEnabled(); |
338 SetToolbarButtonLoudspeakerEnabled(); |
339 // Update call setup CBAs |
339 // Update call setup CBAs |
340 UpdateCbaL( EPhoneCallHandlingCallSetupCBA ); |
340 UpdateCbaL( EPhoneCallHandlingCallSetupCBA ); |
341 iStateMachine->ChangeState( EPhoneStateCallSetup ); |
341 iStateMachine->ChangeState( EPhoneStateCallSetup ); |
342 } |
342 } |
343 |
343 |