securitydialogs/lockclient/src/lockaccessextension.cpp
changeset 59 881d92421467
parent 31 b12d1c188e6e
child 66 67b3e3c1fc87
--- a/securitydialogs/lockclient/src/lockaccessextension.cpp	Fri Sep 03 16:31:27 2010 +0300
+++ b/securitydialogs/lockclient/src/lockaccessextension.cpp	Tue Sep 28 14:03:54 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);