sysstatemgmt/systemstatereferenceplugins/custcmd/src/ssmsecuritychecknotifier.cpp
branchRCL_3
changeset 11 8d1d8440b626
parent 7 1a73e8f1b64d
child 15 21e939dd208a
equal deleted inserted replaced
10:1fc153c72b60 11:8d1d8440b626
   200 	TSsmState currentState = ssmStateAwareSession.State();
   200 	TSsmState currentState = ssmStateAwareSession.State();
   201 
   201 
   202 	TBool isDlgCancellable;
   202 	TBool isDlgCancellable;
   203 
   203 
   204 	//Is system in start up state
   204 	//Is system in start up state
   205 	
   205 	if ( currentState.MainState() == ESsmStartup )
   206 	iAfterStartup = (currentState.MainState() == ESsmStartup) ? EFalse : ETrue;
   206 		{
       
   207 		//TSsmStartupSubStateExt::ESsmStateNonCritical
       
   208 		iAfterStartup = ( 0x34 == currentState.SubState() ) ? ETrue : EFalse;
       
   209 		}
       
   210 	else
       
   211 		{
       
   212 		iAfterStartup = ETrue;
       
   213 		}
   207 	
   214 	
   208 	//Close the state aware session
   215 	//Close the state aware session
   209 	ssmStateAwareSession.Close();
   216 	ssmStateAwareSession.Close();
   210 
   217 
   211 	//Notifier dialogue is not cancellable if system is in startup state and
   218 	//Notifier dialogue is not cancellable if system is in startup state and