syncmlfw/dm/syncagent/src/nsmldmagent.cpp
changeset 57 f5b689a4f7a2
parent 27 2c8580950a26
child 73 ae69c2e8bc34
--- a/syncmlfw/dm/syncagent/src/nsmldmagent.cpp	Tue Jul 06 15:14:24 2010 +0300
+++ b/syncmlfw/dm/syncagent/src/nsmldmagent.cpp	Wed Aug 18 10:39:36 2010 +0300
@@ -50,7 +50,6 @@
 #include "NSmlPrivateAPI.h"
 // FOTA end
 #include <featmgr.h>
-const TUid KUidNotifier = { 0x101F8769 };
 const TInt KNotifierTimeout = 300000000; // 5 min timeout
 _LIT8 ( KNSmlDMFotaNode, "FUMO" );
 
@@ -208,10 +207,7 @@
         aAlertCode == KNSmlDMAgentNextMessage ||
         aAlertCode == KNSmlDMAgentSessionAbortAlert ||
         aAlertCode == KNSmlDMAgentDisplayAlert ||
-        aAlertCode == KNSmlDMAgentContinueOrAbortAlert 
-		 || aAlertCode == KNSmlDMAgentUserInputAlert 
-		 || aAlertCode == KNSmlDMAgentSingleChoiceAlert
-		 || aAlertCode == KNSmlDMAgentMultipleChoiceAlert )
+        aAlertCode == KNSmlDMAgentContinueOrAbortAlert )
 		{
 		return ETrue;
 		}
@@ -1899,16 +1895,6 @@
 		SetActive();
 		}
 
-	//connect to repository		
-	CRepository* rep = CRepository::NewLC( KCRUidPolicyManagementUtilInternalKeys );
-		
-	//get parameters 	
-	TSyncMLAppLaunchNotifParams params;
-    TPckg<TSyncMLAppLaunchNotifParams> data( params );
-	User::LeaveIfError( rep->Get( KSyncMLSessionParamsKey, data)); 
-
-	CleanupStack::PopAndDestroy( rep);
-
     iNotifierTimeOut.LaunchNotifierTimer( this );
 //    User::LeaveIfError( iNotifier.Connect() );
 //   iNotifier.StartNotifierAndGetResponse( iStatus, KUidNotifier, data, iResBuf );
@@ -1957,7 +1943,6 @@
 	    if ( ret == KErrNone )
     	{	   
         
-	  		TInt sid = iResBuf().iSecureId.iUid; // read secure id from notifier.
 	   	
 	    	// Check the response and error code. If there is a fail, dump the job.        
 	    	// Also compare sid to creator id saved for current job to secure that listener owns the job.