--- a/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Thu Aug 05 11:11:52 2010 +0800
+++ b/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Thu Sep 02 17:14:05 2010 +0800
@@ -116,14 +116,10 @@
// CProEngToneSettingsImpl::
// -----------------------------------------------------------------------------
//
-TInt CProEngToneSettingsImpl::SetRingingType( TProfileRingingType aRingingType )
+TInt CProEngToneSettingsImpl::SetRingingType( TProfileRingingType /*aRingingType*/ )
{
- if( iModifiableFlags & EProfileFlagRingingType )
- {
- iToneSettings.iRingingType = aRingingType;
- return KErrNone;
- }
- return KErrAccessDenied;
+ // since 10.1, ring type can't be set by user
+ return KErrNotSupported;
}
// -----------------------------------------------------------------------------