pkiutilities/CTSecurityDialogs/NotifSrc/CTSecurityDialogsAO.cpp
branchRCL_3
changeset 20 63339781d179
parent 15 fabe5ded361a
child 21 09b1ac925e3f
equal deleted inserted replaced
19:94b923fa11ed 20:63339781d179
  1476     {
  1476     {
  1477     // Cannot display untrusted certificate dialog if device is locked. Untrusted
  1477     // Cannot display untrusted certificate dialog if device is locked. Untrusted
  1478     // certificate dialog would be displayed on top of possible lock code query.
  1478     // certificate dialog would be displayed on top of possible lock code query.
  1479     TInt value = 0;
  1479     TInt value = 0;
  1480     TInt err = RProperty::Get( KPSUidCoreApplicationUIs, KCoreAppUIsAutolockStatus, value );
  1480     TInt err = RProperty::Get( KPSUidCoreApplicationUIs, KCoreAppUIsAutolockStatus, value );
  1481     if( !err && value > EAutolockOff )
  1481     if( !err && value != EAutolockOff )
  1482         {
  1482         {
  1483         iRetValue = EServerCertNotAccepted;
  1483         iRetValue = EServerCertNotAccepted;
  1484         iStatus = KRequestPending;
  1484         iStatus = KRequestPending;
  1485         TRequestStatus* status( &iStatus );
  1485         TRequestStatus* status( &iStatus );
  1486         User::RequestComplete( status, KErrNone );
  1486         User::RequestComplete( status, KErrNone );