equal
deleted
inserted
replaced
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 } |