diff -r 0b2439c3e397 -r 4545c04e61e1 btobexprofiles/obexserviceman/utils/src/obexutilsmessagehandler.cpp --- a/btobexprofiles/obexserviceman/utils/src/obexutilsmessagehandler.cpp Tue Jul 06 14:27:09 2010 +0300 +++ b/btobexprofiles/obexserviceman/utils/src/obexutilsmessagehandler.cpp Wed Aug 18 09:59:05 2010 +0300 @@ -54,6 +54,8 @@ const TInt KObexUtilsMaxCharToFromField = 256; +const TInt32 KUidMsgTypeBtTInt32 = 0x10009ED5; + // ============================= LOCAL FUNCTIONS =============================== // ----------------------------------------------------------------------------- @@ -303,6 +305,7 @@ parentTEntry.iMtm = KUidBIOMessageTypeMtm; parentTEntry.iServiceId = KMsvLocalServiceIndexEntryId; parentTEntry.iBioType = aBioMsgId.iUid; + parentTEntry.iMtmData1 = KUidMsgTypeBtTInt32; parentTEntry.iDescription.Set(aBioDB->BifReader(index).Description()); parentEntry->ChangeL(parentTEntry); @@ -342,11 +345,13 @@ TPtrC mimeType16(buf16->Des()); CleanupStack::PopAndDestroy(); // buf16 - CUpdateMusicCollection* updateMusicCollection = CUpdateMusicCollection::NewL() ; + CUpdateMusicCollection* updateMusicCollection = CUpdateMusicCollection::NewL(); + CleanupStack::PushL(updateMusicCollection); if (updateMusicCollection->isSupported(mimeType16)) { updateMusicCollection->addToCollectionL(aFileName); } + CleanupStack::PopAndDestroy(); // updateMusicCollection aAttachInfo->SetMimeTypeL( mimeType );