securitydialogs/lockclient/src/lockaccessextension.cpp
changeset 61 1cc4c46c2963
parent 38 e0432375ea67
child 66 67b3e3c1fc87
--- a/securitydialogs/lockclient/src/lockaccessextension.cpp	Fri Sep 17 08:35:02 2010 +0300
+++ b/securitydialogs/lockclient/src/lockaccessextension.cpp	Mon Oct 04 01:41:57 2010 +0300
@@ -121,10 +121,10 @@
 		
 
 
-	TInt value = -1;
+	TInt value = 0;
 	err = KErrNone;
 	numAttempts = 0;
-	while( value<1 && numAttempts++ <10 )	// wait max 5 seconds
+	while( value==0 && numAttempts++ <10 )	// wait max 5 seconds
 		{
 		// process was started, but still not fully running. Give a bit more time
 		err = RProperty::Get(KPSUidSecurityUIs, KSecurityUIsLockInitiatorUID, value);