diff -r 25a3fbb5e4d3 -r 1cc4c46c2963 securitydialogs/lockclient/src/lockaccessextension.cpp --- 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);