equal
deleted
inserted
replaced
406 } |
406 } |
407 else |
407 else |
408 { |
408 { |
409 iap = opts.iIAP; |
409 iap = opts.iIAP; |
410 } |
410 } |
411 if (iap == -1) |
411 RDEBUG_2( "CAMDownloadManager::SetIAPL: Set IAP Id value to (%d) ", iap); |
|
412 |
|
413 if (iap <= -1) |
412 { |
414 { |
413 iap = 0; //as DL mgr treats 0 (zero) as "Always Ask" |
415 iap = 0; //as DL mgr treats 0 (zero) as "Always Ask" |
414 } |
416 } |
415 iapid = iap; |
417 iapid = iap; |
416 TInt errDL(iDownloadMgr.SetIntAttribute(EDlMgrIap, iap) ); |
418 TInt errDL(iDownloadMgr.SetIntAttribute(EDlMgrIap, iap) ); |
422 { |
424 { |
423 RDEBUG_2( "CAMDownloadManager::SetIAPL: Set IAP Id to (%d) ", iap); |
425 RDEBUG_2( "CAMDownloadManager::SetIAPL: Set IAP Id to (%d) ", iap); |
424 } |
426 } |
425 |
427 |
426 #ifdef _DEBUG |
428 #ifdef _DEBUG |
427 TInt err(iDownloadMgr.SetIntAttribute(EDlMgrIap, 11) ); |
429 TInt err(iDownloadMgr.SetIntAttribute(EDlMgrIap, 0) ); |
428 RDEBUG_2( "CAMDownloadManager::SetIAPL (debug only): WARNING Overriding IAP Id to 11 results %d", err ); |
430 RDEBUG_2( "CAMDownloadManager::SetIAPL (debug only): WARNING Overriding IAP Id to 11 results %d", err ); |
429 #endif |
431 #endif |
430 } |
432 } |
431 |
433 |
432 // ---------------------------------------------------------------------------------------- |
434 // ---------------------------------------------------------------------------------------- |