equal
deleted
inserted
replaced
119 } |
119 } |
120 } while (numAttempts++ <3 && numberOfInstances<=0); |
120 } while (numAttempts++ <3 && numberOfInstances<=0); |
121 |
121 |
122 |
122 |
123 |
123 |
124 TInt value = -1; |
124 TInt value = 0; |
125 err = KErrNone; |
125 err = KErrNone; |
126 numAttempts = 0; |
126 numAttempts = 0; |
127 while( value<1 && numAttempts++ <10 ) // wait max 5 seconds |
127 while( value==0 && numAttempts++ <10 ) // wait max 5 seconds |
128 { |
128 { |
129 // process was started, but still not fully running. Give a bit more time |
129 // process was started, but still not fully running. Give a bit more time |
130 err = RProperty::Get(KPSUidSecurityUIs, KSecurityUIsLockInitiatorUID, value); |
130 err = RProperty::Get(KPSUidSecurityUIs, KSecurityUIsLockInitiatorUID, value); |
131 RDEBUG("err", err); |
131 RDEBUG("err", err); |
132 RDEBUG("value", value); |
132 RDEBUG("value", value); |