--- a/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/crenameobject.cpp Tue May 11 16:40:32 2010 +0300
+++ b/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/crenameobject.cpp Tue May 25 13:14:13 2010 +0300
@@ -25,6 +25,7 @@
#include "mmmtpdplogger.h"
#include "cmmmtpdpmetadataaccesswrapper.h"
#include "crequestprocessor.h" // refer to KMmMtpRArrayGranularity
+#include "mmmtpdputility.h"
// -----------------------------------------------------------------------------
// CRenameObject::NewL
@@ -98,6 +99,8 @@
PRINT1( _L( "MM MTP <> CRenameObject::StartL, handle count = %d" ), iCount );
if ( iCount > 0 )
{
+ MmMtpDpUtility::SetPSStatus(EMtpPSStatusActive);
+
// get the old/new folder full file name
GetParentSuidL( aParentHandle, aOldFolderName );
@@ -169,6 +172,8 @@
{
if( iRenameWaiter->IsStarted() )
iRenameWaiter->AsyncStop();
+
+ MmMtpDpUtility::SetPSStatus(EMtpPSStatusReadyToSync);
}
PRINT( _L( "MM MTP <= CRenameObject::RunL" ) );