equal
deleted
inserted
replaced
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 /* |