diff -r 91d5ad76f5c6 -r 16db3449d7ba mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp --- a/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp Wed Sep 15 12:45:22 2010 +0300 +++ b/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/cgetobjectpropvalue.cpp Wed Oct 13 15:06:09 2010 +0300 @@ -205,15 +205,8 @@ // Parent case EMTPObjectPropCodeParentObject: { - iMTPTypeUint32.Set( KMTPHandleNone ); - - TUint32 parentHandle = iObjectInfo->Uint( CMTPObjectMetaData::EParentHandle ); - // refer to 5.3.1.9 of MTP Spec 1.0 - if ( parentHandle != KMTPHandleNoParent ) - { - iMTPTypeUint32.Set( parentHandle ); - } - + iMTPTypeUint32.Set( 0 ); + iMTPTypeUint32 = iObjectInfo->Uint( CMTPObjectMetaData::EParentHandle ); SendDataL( iMTPTypeUint32 ); } break;