diff -r b79ee333c41d -r bc161388e3ce profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileToneHandler.cpp --- a/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileToneHandler.cpp Mon Mar 15 12:40:33 2010 +0200 +++ b/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileToneHandler.cpp Wed Mar 31 21:31:25 2010 +0300 @@ -463,15 +463,15 @@ } // Check whether file is supported by MMF - TBuf8 tempDataType; - tempDataType.Copy( dataType ); - - if( !ProfileMmfInfoUtility::IsMimeTypeSupportedL( tempDataType ) ) - { - // File is not supported by MMF - return KErrNotSupported; - } - + TBuf8 tempDataType; + tempDataType.Copy( dataType ); + if (!ProfileMmfInfoUtility::IsMimeTypeSupportedL(tempDataType) + && !ProfileMmfInfoUtility::IsHeaderDataSupportedL(aFileName)) + { + // File is not supported by MMF + return KErrNotSupported; + } + // Operator requirement. Check if the tones of this data type are blocked: if( iProfilesFeatures->IsBlockedType( dataType ) || iProfilesFeatures->IsExcludedType( dataType ) )