diff -r ce5ada96ab30 -r 5294c000a26d videocollection/mpxmyvideoscollection/src/vcxmyvideosasyncfileoperations.cpp --- a/videocollection/mpxmyvideoscollection/src/vcxmyvideosasyncfileoperations.cpp Fri Mar 12 15:43:00 2010 +0200 +++ b/videocollection/mpxmyvideoscollection/src/vcxmyvideosasyncfileoperations.cpp Mon Mar 15 12:40:47 2010 +0200 @@ -223,6 +223,10 @@ // TBool CVcxMyVideosAsyncFileOperations::HandleMoveOrCopyStepL() { + // Reset inactivity timer. This will prevent ThumbAGDaemon start running while + // Move/copy is ongoing and failing the operation due to locked file handle. + User::ResetInactivityTime(); + CMPXMedia& cmd = iCollection.iActiveTask->GetCommand(); TBool done; @@ -667,6 +671,10 @@ // TBool CVcxMyVideosAsyncFileOperations::HandleDeleteStepL() { + // Reset inactivity timer. This will prevent ThumbAGDaemon start running while + // delete is ongoing and failing the operation due to locked file handle. + User::ResetInactivityTime(); + CMPXMedia& cmd = iCollection.iActiveTask->GetCommand(); //no sanity checks for array items, since we want to generate all events, even if there is nothing to delete