diff -r 38529f706030 -r 544e34b3255a phoneapp/phoneuicontrol/src/cphonestateincall.cpp --- a/phoneapp/phoneuicontrol/src/cphonestateincall.cpp Wed Mar 31 21:30:06 2010 +0300 +++ b/phoneapp/phoneuicontrol/src/cphonestateincall.cpp Wed Apr 14 15:56:42 2010 +0300 @@ -38,6 +38,7 @@ #include "tphonecmdparamcallstatedata.h" #include "tphonecmdparamsfidata.h" #include "mphonestatemachine.h" +#include "mphonesecuritymodeobserver.h" #include "phonestatedefinitions.h" #include "phoneviewcommanddefinitions.h" #include "phoneui.hrh" @@ -611,9 +612,13 @@ // Activate DTMF list query when cancel is pressed. // Forwards command to the framework - HandleCommandL( EPhoneInCallCmdDtmfListQuery ); + if ( !iStateMachine->SecurityMode()->IsSecurityMode() ) + { + HandleCommandL( EPhoneInCallCmdDtmfListQuery ); + } } break; + case EPhoneDtmfDialerExit: { CloseDTMFEditorL(); @@ -639,7 +644,14 @@ break; //DTMF list query - dialog case EPhoneInCallCmdDtmfListQuery: - LaunchDtmfListQueryL(); + if ( iStateMachine->SecurityMode()->IsSecurityMode() ) + { + HandleCommandL( EPhoneInCallCmdDtmfManualQuery ); + } + else + { + LaunchDtmfListQueryL(); + } break; //DTMF list query - Search