--- 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;
}
// -----------------------------------------------------------------------------