diff -r 4868a89ec1e3 -r cae55c3d1f20 profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp --- a/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Fri Sep 17 08:31:27 2010 +0300 +++ b/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Mon Oct 04 00:35:00 2010 +0300 @@ -116,10 +116,14 @@ // CProEngToneSettingsImpl:: // ----------------------------------------------------------------------------- // -TInt CProEngToneSettingsImpl::SetRingingType( TProfileRingingType /*aRingingType*/ ) +TInt CProEngToneSettingsImpl::SetRingingType( TProfileRingingType aRingingType ) { - // since 10.1, ring type can't be set by user - return KErrNotSupported; + if( iModifiableFlags & EProfileFlagRingingType ) + { + iToneSettings.iRingingType = aRingingType; + return KErrNone; + } + return KErrAccessDenied; } // -----------------------------------------------------------------------------