mtpfws/mtpfw/src/cmtpobjectstore.cpp
branchRCL_3
changeset 16 3673b591050c
parent 14 60a94a45d437
child 23 f5809cfbf6d5
--- a/mtpfws/mtpfw/src/cmtpobjectstore.cpp	Wed Mar 31 22:58:56 2010 +0300
+++ b/mtpfws/mtpfw/src/cmtpobjectstore.cpp	Wed Apr 14 16:49:36 2010 +0300
@@ -496,6 +496,7 @@
 			else
 				{
 				aObject.SetUint(CMTPObjectMetaData::EHandle, handle);
+				needUpdateOwner = ETrue;
 				//while enumerating, we ignore the repeatedly INSERT operations.
 				//User::Leave(KErrAlreadyExists);
 				}
@@ -947,10 +948,7 @@
 	// Create table and index
 	CreateHandleTableL();
 	CreateHandleIndexL();
-	//This is the very very 1st time of MTP server running, therefore, all of the objects in the HandleStore should be added items
-	//roundtrip table will fetch the added items directly from the handlestore, do not popluate the added items to round-trip table
-	//until the enumeration is finished.
-	iUpdateDeltaDataTable = EFalse;
+	iUpdateDeltaDataTable = ETrue;
 	}
 
 /**