mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp
branchRCL_3
changeset 19 51035f0751c2
parent 0 a2952bb97e68
child 23 4740b34b83ce
--- a/mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp	Wed Mar 31 22:26:09 2010 +0300
+++ b/mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp	Wed Apr 14 16:28:17 2010 +0300
@@ -142,6 +142,12 @@
         }
     else  // TOperationType::EEnd or TOperationType::EAbort
         {
+        //Ignore if formatting is ongoing
+        TBool formatting = iBackupSession->IsBackupOperationRunning();
+        if ( formatting )
+        	{
+            return;
+        	}
         for(TInt i=0; i<KDriveCount; ++i)
             {
             iObserver.HandleSystemEventL(EFormatEndEvent, iBackupDrives[i]);