equal
deleted
inserted
replaced
29 #include "tphonecmdparamstring.h" |
29 #include "tphonecmdparamstring.h" |
30 #include "tphonecmdparaminteger.h" |
30 #include "tphonecmdparaminteger.h" |
31 #include "tphonecmdparamboolean.h" |
31 #include "tphonecmdparamboolean.h" |
32 #include "tphonecmdparamemergencycallheaderdata.h" |
32 #include "tphonecmdparamemergencycallheaderdata.h" |
33 #include "tphonecmdparamcallheaderdata.h" |
33 #include "tphonecmdparamcallheaderdata.h" |
|
34 #include "tphonecmdparamkeycapture.h" |
34 #include "mphonestatemachine.h" |
35 #include "mphonestatemachine.h" |
35 #include "phonestatedefinitionsgsm.h" |
36 #include "phonestatedefinitionsgsm.h" |
36 #include "phoneviewcommanddefinitions.h" |
37 #include "phoneviewcommanddefinitions.h" |
37 #include "phoneui.hrh" |
38 #include "phoneui.hrh" |
38 #include "phonerssbase.h" |
39 #include "phonerssbase.h" |
219 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
220 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); |
220 // Remove emergency connecting note if still there |
221 // Remove emergency connecting note if still there |
221 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote ); |
222 iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote ); |
222 // Close menu bar, if it is displayed |
223 // Close menu bar, if it is displayed |
223 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
224 iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose ); |
|
225 |
|
226 TPhoneCmdParamKeyCapture captureParam; |
|
227 captureParam.SetKeyCode( EKeyNo ); |
|
228 iViewCommandHandle->ExecuteCommand( |
|
229 EPhoneViewStopCapturingKey, &captureParam ); |
224 |
230 |
225 const TBool isSimStateNotPresentWithSecurityMode = IsSimStateNotPresentWithSecurityModeEnabled(); |
231 const TBool isSimStateNotPresentWithSecurityMode = IsSimStateNotPresentWithSecurityModeEnabled(); |
226 |
232 |
227 // Sim IS not ok when making emergency call from Pin query, no note |
233 // Sim IS not ok when making emergency call from Pin query, no note |
228 if ( (!IsSimOk() && !iStartupInterrupted) || isSimStateNotPresentWithSecurityMode ) |
234 if ( (!IsSimOk() && !iStartupInterrupted) || isSimStateNotPresentWithSecurityMode ) |
347 globalNotifierParam.SetBoolean( ETrue ); |
353 globalNotifierParam.SetBoolean( ETrue ); |
348 iViewCommandHandle->ExecuteCommandL( |
354 iViewCommandHandle->ExecuteCommandL( |
349 EPhoneViewSetGlobalNotifiersDisabled, |
355 EPhoneViewSetGlobalNotifiersDisabled, |
350 &globalNotifierParam ); |
356 &globalNotifierParam ); |
351 |
357 |
|
358 TPhoneCmdParamKeyCapture captureParam; |
|
359 captureParam.SetKeyCode( EKeyNo ); |
|
360 iViewCommandHandle->ExecuteCommand( EPhoneViewStartCapturingKey, &captureParam ); |
|
361 |
352 // Capture keys when the phone is dialling |
362 // Capture keys when the phone is dialling |
353 CaptureKeysDuringCallNotificationL( ETrue ); |
363 CaptureKeysDuringCallNotificationL( ETrue ); |
354 |
364 |
355 // Indicate that the Phone needs to be sent to the background if |
365 // Indicate that the Phone needs to be sent to the background if |
356 // an application other than the top application is in the foreground |
366 // an application other than the top application is in the foreground |
583 &numberEntryCountParam ); |
593 &numberEntryCountParam ); |
584 TInt neLength( numberEntryCountParam.Integer() ); |
594 TInt neLength( numberEntryCountParam.Integer() ); |
585 if ( neLength ) |
595 if ( neLength ) |
586 { |
596 { |
587 // Show not allowed note |
597 // Show not allowed note |
588 SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed ); |
598 SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue ); |
589 } |
599 } |
590 else |
600 else |
591 { |
601 { |
592 // Logs to open |
602 // Logs to open |
593 CallFromNumberEntryL(); |
603 CallFromNumberEntryL(); |
594 } |
604 } |
595 } |
605 } |
596 else |
606 else |
597 { |
607 { |
598 // Show not allowed note |
608 // Show not allowed note |
599 SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed ); |
609 SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue ); |
600 } |
610 } |
601 break; |
611 break; |
602 |
612 |
603 default: |
613 default: |
604 { |
614 { |
815 // Output |
825 // Output |
816 const TPEAudioOutput audioOutput = |
826 const TPEAudioOutput audioOutput = |
817 iStateMachine->PhoneEngineInfo()->AudioOutput(); |
827 iStateMachine->PhoneEngineInfo()->AudioOutput(); |
818 |
828 |
819 UpdateSetupCbaL(); |
829 UpdateSetupCbaL(); |
820 |
830 SetTouchPaneButtons(0); |
|
831 |
821 // view update |
832 // view update |
822 outputParam.SetAudioOutput( audioOutput ); |
833 outputParam.SetAudioOutput( audioOutput ); |
823 iViewCommandHandle->ExecuteCommandL( EPhoneViewActivateAudioPathUIChanges, |
834 iViewCommandHandle->ExecuteCommandL( EPhoneViewActivateAudioPathUIChanges, |
824 &outputParam ); |
835 &outputParam ); |
825 |
836 |