securitydialogs/SecUi/Src/SecUiSecurityHandler.cpp
changeset 63 989397f9511c
parent 59 881d92421467
child 66 67b3e3c1fc87
equal deleted inserted replaced
62:3255e7d5bd67 63:989397f9511c
   713     else
   713     else
   714         {
   714         {
   715         if (StartUp)
   715         if (StartUp)
   716             isConditionSatisfied = ETrue;
   716             isConditionSatisfied = ETrue;
   717         }
   717         }
       
   718 
       
   719 	// call TARM so that it verifies that configuration is in sync. This might internally accept the (default) lock code, but doesn't dismiss the query.
       
   720 	RDEBUG("isConditionSatisfied", isConditionSatisfied);
       
   721 	RSCPClient scpClientConfiguration;
       
   722 	User::LeaveIfError( scpClientConfiguration.Connect() );
       
   723   CleanupClosePushL( scpClientConfiguration );
       
   724 	RDEBUG("call CheckConfiguration KSCPComplete", KSCPComplete);
       
   725 	TInt finalConfStatus = scpClientConfiguration.CheckConfiguration( KSCPComplete );
       
   726 	RDEBUG("finalConfStatus", finalConfStatus);
       
   727 	RDEBUG("isConditionSatisfied", isConditionSatisfied);
       
   728 	CleanupStack::PopAndDestroy();	// scpClientConfiguration
   718 
   729 
   719     // Security code at bootup: No "cancel" softkey; Emergency calls enabled.
   730     // Security code at bootup: No "cancel" softkey; Emergency calls enabled.
   720     RMobilePhone::TMobilePhoneSecurityCode secCodeTypeToAsk = RMobilePhone::ESecurityCodePhonePassword;
   731     RMobilePhone::TMobilePhoneSecurityCode secCodeTypeToAsk = RMobilePhone::ESecurityCodePhonePassword;
   721     RDEBUG("isConditionSatisfied", isConditionSatisfied);
   732     RDEBUG("isConditionSatisfied", isConditionSatisfied);
   722     if (isConditionSatisfied)
   733     if (isConditionSatisfied)