equal
deleted
inserted
replaced
221 // CVcxMyVideosAsyncFileOperations::HandleMoveOrCopyStepL |
221 // CVcxMyVideosAsyncFileOperations::HandleMoveOrCopyStepL |
222 // ---------------------------------------------------------------------------- |
222 // ---------------------------------------------------------------------------- |
223 // |
223 // |
224 TBool CVcxMyVideosAsyncFileOperations::HandleMoveOrCopyStepL() |
224 TBool CVcxMyVideosAsyncFileOperations::HandleMoveOrCopyStepL() |
225 { |
225 { |
|
226 // Reset inactivity timer. This will prevent ThumbAGDaemon start running while |
|
227 // Move/copy is ongoing and failing the operation due to locked file handle. |
|
228 User::ResetInactivityTime(); |
|
229 |
226 CMPXMedia& cmd = iCollection.iActiveTask->GetCommand(); |
230 CMPXMedia& cmd = iCollection.iActiveTask->GetCommand(); |
227 |
231 |
228 TBool done; |
232 TBool done; |
229 |
233 |
230 TBool isMoveOperation = EFalse; |
234 TBool isMoveOperation = EFalse; |
665 // CVcxMyVideosAsyncFileOperations::HandleDeleteStepL |
669 // CVcxMyVideosAsyncFileOperations::HandleDeleteStepL |
666 // ---------------------------------------------------------------------------- |
670 // ---------------------------------------------------------------------------- |
667 // |
671 // |
668 TBool CVcxMyVideosAsyncFileOperations::HandleDeleteStepL() |
672 TBool CVcxMyVideosAsyncFileOperations::HandleDeleteStepL() |
669 { |
673 { |
|
674 // Reset inactivity timer. This will prevent ThumbAGDaemon start running while |
|
675 // delete is ongoing and failing the operation due to locked file handle. |
|
676 User::ResetInactivityTime(); |
|
677 |
670 CMPXMedia& cmd = iCollection.iActiveTask->GetCommand(); |
678 CMPXMedia& cmd = iCollection.iActiveTask->GetCommand(); |
671 |
679 |
672 //no sanity checks for array items, since we want to generate all events, even if there is nothing to delete |
680 //no sanity checks for array items, since we want to generate all events, even if there is nothing to delete |
673 |
681 |
674 TBool done; |
682 TBool done; |