--- a/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Thu Sep 02 20:42:34 2010 +0300
+++ b/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Fri Sep 17 08:31:27 2010 +0300
@@ -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;
}
// -----------------------------------------------------------------------------