diff -r 16e4b9007960 -r f5508c13dfe0 bluetoothengine/bteng/btbearer/src/btpluginnotifier.cpp --- a/bluetoothengine/bteng/btbearer/src/btpluginnotifier.cpp Wed Oct 13 13:15:31 2010 +0300 +++ b/bluetoothengine/bteng/btbearer/src/btpluginnotifier.cpp Tue Oct 19 15:09:34 2010 +0300 @@ -24,8 +24,6 @@ #include "debug.h" #include #include -#include "btindicatorconstants.h" -#include // ======== MEMBER FUNCTIONS ======== @@ -62,7 +60,6 @@ delete repository; CBTEngSettings* settings = CBTEngSettings::NewL(); - iBTIndicator = CHbIndicatorSymbian::NewL(); BluetoothFeatures::TEnterpriseEnablementMode mode = BluetoothFeatures::EnterpriseEnablementL(); TRACE_INFO( ( _L( "mode = %d" ), mode) ) @@ -81,14 +78,6 @@ { TRACE_INFO( ( _L( "Turning BT off" ) ) ) (void) settings->SetPowerState( EBTPowerOff ); // Result is not important here - TInt state = EBTIndicatorOff; - CHbSymbianVariant* parameters = CHbSymbianVariant::NewL(&state,CHbSymbianVariant::EInt ); - TBool success = iBTIndicator->Activate(KIndicatorType(),parameters); - delete parameters; - if(!success) - { - User::Leave(iBTIndicator->Error()); - } } delete settings; if ( mode != BluetoothFeatures::EDisabled ) // only subscribe if there's any point (NB changing Enterprise Disabling mode requires a reboot) @@ -123,7 +112,6 @@ TRACE_FUNC_ENTRY Cancel(); delete iSession; - delete iBTIndicator; }