applicationmanagement/server/src/AMDownloadManager.cpp
branchRCL_3
changeset 20 f6aa907032f4
parent 0 3ce708148e4d
--- a/applicationmanagement/server/src/AMDownloadManager.cpp	Wed Apr 14 15:46:55 2010 +0300
+++ b/applicationmanagement/server/src/AMDownloadManager.cpp	Tue Apr 27 16:25:00 2010 +0300
@@ -408,7 +408,9 @@
         {
         iap = opts.iIAP;
         }
-    if (iap == -1)
+    RDEBUG_2( "CAMDownloadManager::SetIAPL: Set IAP Id value to (%d) ", iap);
+    
+    if (iap <= -1)
         {
         iap = 0; //as DL mgr treats 0 (zero) as "Always Ask"
         }
@@ -424,7 +426,7 @@
         }
 
 #ifdef _DEBUG
-    TInt err(iDownloadMgr.SetIntAttribute(EDlMgrIap, 11) );
+    TInt err(iDownloadMgr.SetIntAttribute(EDlMgrIap, 0) );
     RDEBUG_2( "CAMDownloadManager::SetIAPL (debug only): WARNING Overriding IAP Id to 11 results %d", err );
 #endif		
     }