diff -r 66ecddbca914 -r 4a5c47a50617 sysstatemgmt/systemstatereferenceplugins/custcmd/src/ssmsecuritychecknotifier.cpp --- a/sysstatemgmt/systemstatereferenceplugins/custcmd/src/ssmsecuritychecknotifier.cpp Tue May 11 17:23:24 2010 +0300 +++ b/sysstatemgmt/systemstatereferenceplugins/custcmd/src/ssmsecuritychecknotifier.cpp Tue May 25 14:04:18 2010 +0300 @@ -26,7 +26,6 @@ #include "ssmsecuritychecknotifier.h" #include "ssmdebug.h" #include "ssmuiproviderdll.h" -#include "ssmrefcustomcmdcommon.h" #include #include #include @@ -201,27 +200,21 @@ //Get the current state of the system TSsmState currentState = ssmStateAwareSession.State(); - //Close the state aware session - ssmStateAwareSession.Close(); - TBool isDlgCancellable; //Is system in start up state if ( currentState.MainState() == ESsmStartup ) { - TInt securityPhaseVal = EStarterSecurityPhaseUninitialized; - TInt errorCode = RProperty::Get(CSsmUiSpecific::StarterPSUid(), KStarterSecurityPhase, securityPhaseVal); - DEBUGPRINT3A("Getting the KStarterSecurityPhase completed with errorcode %d and its value is %d", errorCode, securityPhaseVal); - User::LeaveIfError(errorCode); - //TSsmStartupSubStateExt::ESsmStateNonCritical - iAfterStartup = ( 0x34 == currentState.SubState() && securityPhaseVal > EStarterSecurityPhaseSimNok ) ? ETrue : EFalse; + iAfterStartup = ( 0x34 == currentState.SubState() ) ? ETrue : EFalse; } else { iAfterStartup = ETrue; } - DEBUGPRINT2A("iAfterStartup is %d", iAfterStartup); + + //Close the state aware session + ssmStateAwareSession.Close(); //Notifier dialogue is not cancellable if system is in startup state and //requested for PUK1 or PUK2 or UPUK code