--- a/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Wed Sep 29 13:58:42 2010 +0800
+++ b/profilesservices/ProfileEngine/WrapperSrc/CProEngToneSettingsImpl.cpp Mon Oct 18 10:08:17 2010 +0800
@@ -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;
}
// -----------------------------------------------------------------------------