profilesservices/ProfileEngine/EngSrc/CProfileTonesImpl.cpp
changeset 59 4868a89ec1e3
parent 23 7e4c5a2ff1a2
child 63 cae55c3d1f20
equal deleted inserted replaced
56:d9e9413f30c9 59:4868a89ec1e3
   140     User::LeaveIfError(
   140     User::LeaveIfError(
   141             aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngRingingType,
   141             aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngRingingType,
   142             aProfileId ), value ) );
   142             aProfileId ), value ) );
   143     iProfileToneSettings.iRingingType = TProfileRingingType( value );
   143     iProfileToneSettings.iRingingType = TProfileRingingType( value );
   144     
   144     
   145     //Since 10.1, check if silence mode
       
   146     User::LeaveIfError(
       
   147             aCenRep.Get( KProEngSilenceMode , value) );
       
   148     if ( value )
       
   149     	{
       
   150 		iProfileToneSettings.iRingingType = EProfileRingingTypeSilent;
       
   151     	}
       
   152     
       
   153     User::LeaveIfError(
   145     User::LeaveIfError(
   154             aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngKeypadVolume,
   146             aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngKeypadVolume,
   155             aProfileId ), value ) );
   147             aProfileId ), value ) );
   156     iProfileToneSettings.iKeypadVolume = TProfileKeypadVolume( value );
   148     iProfileToneSettings.iKeypadVolume = TProfileKeypadVolume( value );
   157  /* 
   149  /*