phoneapp/phoneuivoipextension/src/cphonecustomizationvoip.cpp
branchRCL_3
changeset 20 3c221667e687
parent 10 ba54057fe027
child 23 40a3f856b14d
--- a/phoneapp/phoneuivoipextension/src/cphonecustomizationvoip.cpp	Wed Jun 09 09:41:11 2010 +0300
+++ b/phoneapp/phoneuivoipextension/src/cphonecustomizationvoip.cpp	Mon Jun 21 15:39:45 2010 +0300
@@ -37,6 +37,7 @@
 #include "tphonecmdparamstring.h"
 #include "cphonemainresourceresolver.h"
 #include "mphonestatemachine.h"
+#include "mphonesecuritymodeobserver.h"
 #include "cphonelogger.h"
 #include "cphonecenrepproxy.h"
 #include "phoneui.pan"
@@ -210,7 +211,7 @@
             {
             case EPhoneDialerCmdTouchInput:
                 {
-                if ( !VoIPSupportedL() )
+                if ( !VoIPSupportedL() || iStateMachine.SecurityMode()->IsSecurityMode() )
                     {
                     menuPane->DeleteMenuItem( menuItemArray[ i ] ); 
                     }