mmappcomponents/harvester/server/src/mpxfsformatmonitor.cpp
branchRCL_3
changeset 19 51035f0751c2
parent 0 a2952bb97e68
child 23 4740b34b83ce
equal deleted inserted replaced
17:780c925249c1 19:51035f0751c2
   140             iObserver.HandleSystemEventL(EFormatStartEvent, iBackupDrives[i]);
   140             iObserver.HandleSystemEventL(EFormatStartEvent, iBackupDrives[i]);
   141             }
   141             }
   142         }
   142         }
   143     else  // TOperationType::EEnd or TOperationType::EAbort
   143     else  // TOperationType::EEnd or TOperationType::EAbort
   144         {
   144         {
       
   145         //Ignore if formatting is ongoing
       
   146         TBool formatting = iBackupSession->IsBackupOperationRunning();
       
   147         if ( formatting )
       
   148         	{
       
   149             return;
       
   150         	}
   145         for(TInt i=0; i<KDriveCount; ++i)
   151         for(TInt i=0; i<KDriveCount; ++i)
   146             {
   152             {
   147             iObserver.HandleSystemEventL(EFormatEndEvent, iBackupDrives[i]);
   153             iObserver.HandleSystemEventL(EFormatEndEvent, iBackupDrives[i]);
   148             }
   154             }
   149         }
   155         }