engine/src/FeedEngine.cpp
branchRCL_3
changeset 134 cc381e129dd5
parent 121 45e21fd808cd
equal deleted inserted replaced
133:2fd795b1e1b1 134:cc381e129dd5
   171 			isOfflineProfile = ETrue;
   171 			isOfflineProfile = ETrue;
   172 			}
   172 			}
   173 	    }
   173 	    }
   174 	//
   174 	//
   175 	iAutoUpdatedInitiator = aAutoUpdate;
   175 	iAutoUpdatedInitiator = aAutoUpdate;
   176 	if ((iFeedsUpdating.Count() > 0) || (isOfflineProfile)) // cancel update if in offline mode
   176 	if ((iFeedsUpdating.Count() > 0) || (isOfflineProfile && aAutoUpdate)) 
   177 		{
   177 		{
   178 		DP("Cancelling update");
   178 		DP("Cancelling update");
   179 		iFeedClient->Stop();
   179 		iFeedClient->Stop();
   180 		iFeedsUpdating.Reset();
   180 		iFeedsUpdating.Reset();
   181 		return;
   181 		return;