diff -r 09b1ac925e3f -r 03674e5abf46 securitydialogs/lockclient/src/keyguardaccessapi.cpp --- a/securitydialogs/lockclient/src/keyguardaccessapi.cpp Tue Aug 31 16:04:40 2010 +0300 +++ b/securitydialogs/lockclient/src/keyguardaccessapi.cpp Wed Sep 01 12:19:59 2010 +0100 @@ -24,15 +24,11 @@ #include // P&S API #include -#include - // --------------------------------------------------------------------------- // Standard Symbian OS construction sequence // --------------------------------------------------------------------------- EXPORT_C CKeyguardAccessApi* CKeyguardAccessApi::NewL( ) { - RDEBUG("0", 0); - CKeyguardAccessApi* self = new (ELeave) CKeyguardAccessApi( ); CleanupStack::PushL( self ); self->ConstructL( ); @@ -45,7 +41,6 @@ // --------------------------------------------------------------------------- CKeyguardAccessApi::CKeyguardAccessApi() { - RDEBUG("0", 0); } // --------------------------------------------------------------------------- @@ -66,7 +61,6 @@ // --------------------------------------------------------------------------- void CKeyguardAccessApi::ConstructL( ) { - RDEBUG("0", 0); iLockAccessExtension = new (ELeave) RLockAccessExtension; } @@ -75,8 +69,6 @@ // --------------------------------------------------------------------------- EXPORT_C TBool CKeyguardAccessApi::IsKeylockEnabled() { - - RDEBUG("0", 0); TInt value; TInt err = RProperty::Get(KPSUidAvkonDomain, KAknKeyguardStatus, value); if ( err == KErrNone ) @@ -102,7 +94,6 @@ // --------------------------------------------------------------------------- EXPORT_C TBool CKeyguardAccessApi::IsKeyguardEnabled() { - RDEBUG("0", 0); TInt value; TInt err = RProperty::Get(KPSUidAvkonDomain, KAknKeyguardStatus, value); if ( err == KErrNone ) @@ -143,15 +134,12 @@ // --------------------------------------------------------------------------- EXPORT_C TInt CKeyguardAccessApi::DisableKeyguard( TBool aWithNote ) { - RDEBUG("aWithNote", aWithNote); if ( iLockAccessExtension ) { - RDEBUG("0", 1); return iLockAccessExtension->SendMessage( ELockAppDisableKeyguard, aWithNote ); } else { - RDEBUG("0", 0); return KErrNotFound; } } @@ -161,7 +149,6 @@ // --------------------------------------------------------------------------- EXPORT_C TInt CKeyguardAccessApi::OfferKeyguard() { - RDEBUG("0", 0); if ( iLockAccessExtension ) { return iLockAccessExtension->SendMessage( ELockAppOfferKeyguard ); @@ -177,7 +164,6 @@ // --------------------------------------------------------------------------- EXPORT_C TInt CKeyguardAccessApi::ShowKeysLockedNote() { - RDEBUG("0", 0); if ( iLockAccessExtension ) { return iLockAccessExtension->SendMessage( ELockAppShowKeysLockedNote );