mtpfws/mtpfw/dataproviders/dputility/src/cmtpsendobjectinfo.cpp
branchRCL_3
changeset 12 523717cdb0ad
parent 6 ef55b168cedb
child 17 dbd1c5e08735
equal deleted inserted replaced
11:f5809cfbf6d5 12:523717cdb0ad
   715             SetPropertiesL();    
   715             SetPropertiesL();    
   716             iFramework.ObjectMgr().CommitReservedObjectHandleL(*iReceivedObject);
   716             iFramework.ObjectMgr().CommitReservedObjectHandleL(*iReceivedObject);
   717             iFullPath.LowerCase();
   717             iFullPath.LowerCase();
   718             __FLOG_VA((_L8("File Name %S"), &iFullPath));
   718             __FLOG_VA((_L8("File Name %S"), &iFullPath));
   719             TParsePtrC file( iFullPath );
   719             TParsePtrC file( iFullPath );
   720             if ( file.ExtPresent() && iExceptionList.Find(file.Ext()) != KErrNotFound)
   720             if ( file.ExtPresent() && file.Ext().Length()<=KExtensionLength && iExceptionList.Find(file.Ext()) != KErrNotFound)
   721                 {
   721                 {
   722                 TUint32 DpId = iFramework.DataProviderId();
   722                 TUint32 DpId = iFramework.DataProviderId();
   723                 HBufC* mime = iDpSingletons.MTPUtility().ContainerMimeType(iFullPath);
   723                 HBufC* mime = iDpSingletons.MTPUtility().ContainerMimeType(iFullPath);
   724                 CleanupStack::PushL(mime);
   724                 CleanupStack::PushL(mime);
   725                 if ( mime != NULL )
   725                 if ( mime != NULL )