equal
deleted
inserted
replaced
40 #include "tphonecmdparamcallstatedata.h" |
40 #include "tphonecmdparamcallstatedata.h" |
41 #include "phonestatedefinitionsgsm.h" |
41 #include "phonestatedefinitionsgsm.h" |
42 #include "phonelogger.h" |
42 #include "phonelogger.h" |
43 #include "cphonecenrepproxy.h" |
43 #include "cphonecenrepproxy.h" |
44 #include "cphonepubsubproxy.h" |
44 #include "cphonepubsubproxy.h" |
45 #include "mphonestorage.h" |
|
46 |
45 |
47 // ================= MEMBER FUNCTIONS ======================= |
46 // ================= MEMBER FUNCTIONS ======================= |
48 |
47 |
49 // C++ default constructor can NOT contain any code, that |
48 // C++ default constructor can NOT contain any code, that |
50 // might leave. |
49 // might leave. |
322 |
321 |
323 default: |
322 default: |
324 // do base operation |
323 // do base operation |
325 CPhoneGsmInCall::HandleKeyMessageL( aMessage, aCode ); |
324 CPhoneGsmInCall::HandleKeyMessageL( aMessage, aCode ); |
326 break; |
325 break; |
327 } |
|
328 } |
|
329 |
|
330 // ----------------------------------------------------------- |
|
331 // CPhoneSingleAndWaiting::HandleKeyEventL |
|
332 // ----------------------------------------------------------- |
|
333 // |
|
334 void CPhoneSingleAndWaiting::HandleKeyEventL( |
|
335 const TKeyEvent& aKeyEvent, |
|
336 TEventCode aEventCode ) |
|
337 { |
|
338 if( EKeyDeviceF == aKeyEvent.iCode ) |
|
339 { |
|
340 __PHONELOG( EBasic, EPhoneUIStates, |
|
341 "CPhoneSingleAndWaiting::HandleKeyMessageL-deviceF" ); |
|
342 HandleHoldSwitchL(); |
|
343 } |
326 } |
344 } |
327 } |
345 |
328 |
346 // ----------------------------------------------------------- |
329 // ----------------------------------------------------------- |
347 // CPhoneSingleAndWaiting::HandleIdleL |
330 // CPhoneSingleAndWaiting::HandleIdleL |
425 if ( IsNumberEntryVisibleL() ) |
408 if ( IsNumberEntryVisibleL() ) |
426 { |
409 { |
427 SetNumberEntryVisibilityL(EFalse); |
410 SetNumberEntryVisibilityL(EFalse); |
428 } |
411 } |
429 |
412 |
430 // Check if HW Keys or Call UI should be disabled |
|
431 CheckDisableHWKeysAndCallUIL(); |
|
432 |
|
433 SetTouchPaneButtons( EPhoneIncomingCallButtons ); |
413 SetTouchPaneButtons( EPhoneIncomingCallButtons ); |
434 SetTouchPaneButtonEnabled( EPhoneCallComingCmdSilent ); |
414 SetTouchPaneButtonEnabled( EPhoneCallComingCmdSilent ); |
435 |
415 |
436 // Bring up callhandling view |
416 // Bring up callhandling view |
437 BringIncomingToForegroundL(); |
417 BringIncomingToForegroundL(); |
491 // Return phone to the background if send to background is needed. |
471 // Return phone to the background if send to background is needed. |
492 iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); |
472 iViewCommandHandle->ExecuteCommandL( EPhoneViewSendToBackground ); |
493 } |
473 } |
494 } |
474 } |
495 |
475 |
496 // Enable call UI |
|
497 if( FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke ) |
|
498 && iStateMachine->PhoneStorage()->IsScreenLocked() ) |
|
499 { |
|
500 EnableCallUIL(); |
|
501 } |
|
502 |
|
503 // Reset blocked keys list |
|
504 iStateMachine->PhoneStorage()->ResetBlockedKeysList(); |
|
505 |
|
506 SetTouchPaneButtons( EPhoneIncallButtons ); |
476 SetTouchPaneButtons( EPhoneIncallButtons ); |
507 EndUiUpdate(); |
477 EndUiUpdate(); |
508 if( effectStarted ) |
478 if( effectStarted ) |
509 { |
479 { |
510 EndTransEffect(); |
480 EndTransEffect(); |
625 if ( !NeedToReturnToForegroundAppL() ) |
595 if ( !NeedToReturnToForegroundAppL() ) |
626 { |
596 { |
627 BeginTransEffectLC( ENumberEntryOpen ); |
597 BeginTransEffectLC( ENumberEntryOpen ); |
628 effectStarted = ETrue; |
598 effectStarted = ETrue; |
629 } |
599 } |
630 |
|
631 // Reset blocked keys list |
|
632 iStateMachine->PhoneStorage()->ResetBlockedKeysList(); |
|
633 |
600 |
634 BeginUiUpdateLC(); |
601 BeginUiUpdateLC(); |
635 |
602 |
636 UpdateRemoteInfoDataL ( aCallId ); |
603 UpdateRemoteInfoDataL ( aCallId ); |
637 // Show bubble |
604 // Show bubble |