--- a/syncmlfw/common/obex/obexclient/src/Btobexsearcher.cpp Thu Aug 19 10:44:50 2010 +0300
+++ b/syncmlfw/common/obex/obexclient/src/Btobexsearcher.cpp Tue Aug 31 16:04:06 2010 +0300
@@ -80,10 +80,11 @@
Cancel();
delete iServiceSearcher;
delete iSettings;
- if ( iNotifier.Handle() )
+/* if ( iNotifier.Handle() )
{
iNotifier.Close();
}
+*/
}
//----------------------------------------------------------------------------
@@ -137,10 +138,11 @@
{
if( iWaitingForBTPower && iOffline() != EFalse )
{
- if ( iNotifier.Handle() )
+ /* if ( iNotifier.Handle() )
{
iNotifier.Close();
}
+ */
TInt err = iSettings->ChangePowerStateTemporarily( );
if( err )
{
@@ -178,14 +180,13 @@
}
}
}
-
// ----------------------------------------------------------------------------
// CBTObexSearcher::RunError
// ----------------------------------------------------------------------------
TInt CBTObexSearcher::RunError ( TInt /*aError*/ )
{
return KErrNone;
- }
+ }
//----------------------------------------------------------------------------
// CBTObexSearcher::DoCancel()
@@ -301,13 +302,14 @@
if( offline == ECoreAppUIsNetworkConnectionNotAllowed &&
offlineAllowed == EBTEnabledInOfflineMode )
{
- User::LeaveIfError( iNotifier.Connect() );
+/* User::LeaveIfError( iNotifier.Connect() );
TBTGenericQueryNotiferParamsPckg pckg;
pckg().iMessageType = EBTActivateOffLineQuery;
pckg().iNameExists = EFalse;
iNotifier.StartNotifierAndGetResponse( iStatus, KBTGenericQueryNotifierUid,
pckg, iOffline );
SetActive();
+*/
}
else if( offline == ECoreAppUIsNetworkConnectionNotAllowed &&
offlineAllowed == EBTDisabledInOfflineMode )