diff -r 25dd1e8b2663 -r 881d92421467 securitydialogs/lockclient/src/lockaccessextension.cpp --- 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);