equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
235 case EPSCTsyCallStateUninitialized: |
235 case EPSCTsyCallStateUninitialized: |
236 case EPSCTsyCallStateNone: |
236 case EPSCTsyCallStateNone: |
237 { |
237 { |
238 |
238 |
239 TInt keyGuardSetting; |
239 TInt keyGuardSetting; |
240 iSlideRepository->Get( KSlideKeyguard, keyGuardSetting ); |
240 User::LeaveIfError(iSlideRepository->Get( KSlideKeyguard, keyGuardSetting )); |
241 switch( ( TSlideSettingKeyguard ) keyGuardSetting ) |
241 switch( ( TSlideSettingKeyguard ) keyGuardSetting ) |
242 { |
242 { |
243 case ESlideSettingsKeyguardActivatingOn: |
243 case ESlideSettingsKeyguardActivatingOn: |
244 iKeylock->EnableKeyLock(); |
244 iKeylock->EnableKeyLock(); |
245 break; |
245 break; |