--- a/phoneapp/phoneuicontrol/src/cphonestatestartup.cpp Thu Jul 15 18:38:16 2010 +0300
+++ b/phoneapp/phoneuicontrol/src/cphonestatestartup.cpp Thu Aug 19 09:54:27 2010 +0300
@@ -212,6 +212,14 @@
// Indicate that the phone is ready
iPhoneReady = ETrue;
+ // Sim security status is available at this phase.
+ iStateMachine->SecurityMode()->Initialize();
+ if ( !IsSimOk() )
+ {
+ iCreateNote = CIdle::NewL( CActive::EPriorityHigh );
+ CreateAndShowNoteAfterIdle();
+ }
+
// Only go to idle state when Phone engine is also ready
if ( iPEReady )
{
@@ -276,12 +284,6 @@
void CPhoneStateStartup::InitializationReadyL()
{
__LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateStartup::InitializationReady() ");
- iStateMachine->SecurityMode()->Initialize();
- if ( !IsSimOk() )
- {
- iCreateNote = CIdle::NewL( CActive::EPriorityHigh );
- CreateAndShowNoteAfterIdle();
- }
// Go to idle state
SetDefaultFlagsL();
iCbaManager->UpdateCbaL( EPhoneEmptyCBA );