// -----------------------------------------------------------------------------
// CTestSDKKeyLock::TestKLEnableAutoLockEmulationL
// -----------------------------------------------------------------------------
TInt CTestSDKKeyLock::TestKLEnableAutoLockEmulationL( CStifItemParser& /*aItem*/ )
    {
    RAknKeyLock enableautolockemulation;
    CleanupClosePushL( enableautolockemulation );
    STIF_ASSERT_NOT_LEAVES( enableautolockemulation.Connect() );
    
    STIF_ASSERT_NOT_NULL( &enableautolockemulation );
    
    enableautolockemulation.EnableAutoLockEmulation();
    enableautolockemulation.EnableSoftNotifications( EFalse );

    CleanupStack::PopAndDestroy( &enableautolockemulation );
    
    return KErrNone;
    }