--- a/policymanagement/policyengine/policyengineserver/src/PolicyProcessor.cpp Mon May 03 13:19:46 2010 +0300
+++ b/policymanagement/policyengine/policyengineserver/src/PolicyProcessor.cpp Fri May 14 16:42:50 2010 +0300
@@ -752,10 +752,10 @@
if ( name.Length() && fingerPrint.Length())
{
//create notifier
- RNotifier notifier;
+/* RNotifier notifier;
CleanupClosePushL( notifier);
User::LeaveIfError( notifier.Connect() );
-
+*/
//create parameter descriptor
TBuf8<100> responseBuf;
HBufC8 * data = HBufC8::NewLC( name.Length() + fingerPrint.Length() + 1);
@@ -766,7 +766,7 @@
//create CAsyncHandler to Auto start/stop CActiveScheduler
CASyncHandler * async = CASyncHandler::NewLC();
- notifier.StartNotifierAndGetResponse( async->GetRequestStatus(), KUidPolicyEngineUi, ptr, responseBuf);
+// notifier.StartNotifierAndGetResponse( async->GetRequestStatus(), KUidPolicyEngineUi, ptr, responseBuf);
//Start CActiveScheduler and execute stop when request is completed
async->WaitForRequest();
@@ -775,7 +775,7 @@
if ( async->GetRequestStatus() > 0) //request pending...
{
- notifier.CancelNotifier( KUidPolicyEngineUi);
+// notifier.CancelNotifier( KUidPolicyEngineUi);
}
else
{
@@ -787,7 +787,8 @@
}
}
- CleanupStack::PopAndDestroy( 3, ¬ifier); //notifier, data, CASyncHandler
+ // CleanupStack::PopAndDestroy( 3, ¬ifier); //notifier, data, CASyncHandler
+ CleanupStack::PopAndDestroy( 2);
}