equal
deleted
inserted
replaced
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 ); |