phoneapp/phoneuicontrol/src/cphonestatestartup.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
--- a/phoneapp/phoneuicontrol/src/cphonestatestartup.cpp	Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuicontrol/src/cphonestatestartup.cpp	Mon Oct 04 16:06:10 2010 +0300
@@ -199,28 +199,6 @@
         }
     }
 
-// ---------------------------------------------------------
-// CPhoneStateStartup::HandleIdleForegroundEventL
-// Phone should show security note asap. 
-// Active idle might be in front quite early if f.e. rejected SIM 
-// ---------------------------------------------------------
-//
-EXPORT_C void CPhoneStateStartup::HandleIdleForegroundEventL()
-    {
-    __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateStartup::HandleIdleForegroundEventL( ) ");
-    TPhoneCmdParamBoolean isSecurityMode;      
-    iViewCommandHandle->ExecuteCommandL( EPhoneViewGetSecurityModeStatus, &isSecurityMode );
-    if ( !isSecurityMode.Boolean() && !IsSimOk() )
-        {
-        TPhoneCmdParamBoolean securityMode;
-        securityMode.SetBoolean( ETrue );
-        iViewCommandHandle->ExecuteCommandL( EPhoneViewSetSecurityMode, &securityMode );
-        iCreateNote = CIdle::NewL( CActive::EPriorityHigh );
-        
-        CreateAndShowNoteAfterIdle(); 
-        }
-    }
-
 // -----------------------------------------------------------------------------
 // CPhoneStateStartup::CreateAndShowNoteAfterIdle
 //