iaupdate/IAD/ui/src/iaupdateserviceprovider.cpp
changeset 33 8110bf1194d1
parent 29 26b6f0522fd8
child 64 48c14c385b0e
--- a/iaupdate/IAD/ui/src/iaupdateserviceprovider.cpp	Mon May 03 12:38:03 2010 +0300
+++ b/iaupdate/IAD/ui/src/iaupdateserviceprovider.cpp	Fri May 14 15:58:48 2010 +0300
@@ -23,6 +23,7 @@
 #include "iaupdatedebug.h"
 
 const TSecureId KSIDBackgroundChecker = 0x200211f4;
+const TSecureId KSIDCwrtWidget = 0x200267C0;
 
 
 IAUpdateServiceProvider::IAUpdateServiceProvider(IAUpdateEngine& engine)
@@ -76,12 +77,12 @@
                   stringType,
                   stringRefresh);
   
-        if ( requestInfo().clientSecureId() != KSIDBackgroundChecker )      
+        if ((requestInfo().clientSecureId() != KSIDBackgroundChecker) && (requestInfo().clientSecureId() != KSIDCwrtWidget))      
         {
             // other processes than backroundchecker are not allowed to cause refresh from network 
             params->SetRefresh( EFalse );
         }
-    mEngine->CheckUpdatesRequestL(stringWgId.toInt(),params);
+    mEngine->CheckUpdatesRequestL(stringWgId.toInt(),params, params->Refresh() && requestInfo().clientSecureId() == KSIDCwrtWidget);
     IAUPDATE_TRACE("[IAUPDATE] IAUpdateServiceProvider::checkUpdates() end");
     }